Changelog
17.8.0
New hooks useIsFocused()
and useIsMouseOver()
. They return true if any child of current component has such state.
New function shouldBeFocusVisible()
which returns true if last user interaction was by keyboard.
Changelog
17.6.1
Fixed regression in router from 17.1.0 (blank screen after reload of some routes).
Changelog
17.4.0
Added new function isSvgSprite
.
Fixed update of element attributes when updated from undefined to object.
Changelog
17.3.0
Allow to use attribute selectors in pseudo css definitions. Example: b.styleDef({},{ "[aria-disabled=\"true\"]": { opacity: 0.5 } })
Changelog
17.2.0
Router now allows to store additional state in browser history not visible in URL.
Use this new method to get state getActiveState()
. createRedirectPush
and createRedirectReplace
have new 3rd parameter to set state with transition, if new state is not provided current state is preserved.