- Use the
children
helper function outside of jsx scope so components aren't re-rendered in conditional rendering. #700
- The
OverlayScrollbarsComponent
now properly supports'body'
as its element tag.
- Improve the type definitions with the usage of the
ValidComponent
type.
- Adapt the
exports
field in thepackage.json
for correctcommonjs
andmodule
handling.
- Make sure component is stateless and children won't update more often than needed.
- Improve
Server Side Rendering
behavior by creating additional markup only on the client with the hydration phase. - Improve
deferred initialization
where the time between created markup and actual initialization is masked with CSS.
- Fixed SSR compatibility with
solid-start
.
Added the possibility to defer
the initialization to a point in time when the browser is idle. (or to the next frame if window.requestIdleCallback
is not supported)
OverlayScrollbarsComponent
accepts now thedefer
propertycreateOverlayScrollbars
params accept now thedefer
propertycreateOverlayScrollbars
will now always try to destroy the instance if the component unmounts.
- Because initialization can be deferred now, the
initialize
function of thecreateOverlayScrollbars
primitive isn't returning the instance anymore. Use theinstance
function of thecreateOverlayScrollbars
primitive instead.
The component was created.
Depends on OverlayScrollbars
version ^2.0.0
and Solid
version ^1.5.1
.