Changelog
14.9.0
Allow override b.asset
behavior by b.setAsset
or from bobril build by setting defining global function bobrilBAsset
.
Changelog
14.7.0
Fixed JSX compatibility with TypeScript 3.9.2. Unfortunately never
type cannot be used anymore for data
type, use {}
instead.
Fixed missing handler in chain by providing build in basic implementation instead. Also it should correctly handle cases when some route handler does not want to show child.
Changelog
14.6.0
Fixed vdomPath
search for Portals. Portal element now defaults to document.body same as b.init
.
Changelog
14.5.0
Added support for Portals. IBobrilNode
for portal is { tag: "@", data: domElement, children }
. In TSX it is <b.Portal element={domElement}>{children}</b.Portal>
.
useStore
hook now calls dispose on store automatically when destroying the context
Changelog
14.4.0
Fragment
now require its parameter. Should not be problem because TSX/createElement passes that parameter always nonnull. It can now return IBobrilNode
type making it more compatible to functional components.
Changelog
14.3.0
Changed zIndex of dragged container div to be 1e9, so hopefully above everything.