Changelog
14.16.0
Changed useEffect
body to be executed inside update frame. Before this change it was run asynchronously after frame using b.asap
. This converts useEffect
into another lifecycle method after postUpdateDom
. Difference is that postUpdateDom
(useLayoutEffect
) can trigger another synchronous Render
, but useEffect
is executed always only once as last. Calling deferSyncUpdate
from useEffect
body does not have any effect.
Changelog
14.15.0
b.setIsArrayVdom
is better typed to support TS 4.1.x
better typed dropEffect and effectAllowed in DnD
Changelog
14.13.0
New function spriteWithColor(colorLessSprite: IBobrilStyleDef, color: string): IBobrilStyleDef
for coloring already created sprites.
Changelog
14.12.0
Optimized, simplified and shortened code for pointer events.
b.style on b.styleDef(string) could be called outside of render now.
Changelog
14.11.0
use User Timing API to measure component performance (#109)
b.setMeasureConfiguration()
, since the performance impact is not knownChangelog
14.10.0
New functions namedStyleDef
and namedStyleDefEx
which are not modified by bobril-build and allows to define css classes with exact names.
Changelog
14.9.0
Allow override b.asset
behavior by b.setAsset
or from bobril build by setting defining global function bobrilBAsset
.