You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To reduce stress on the JS thread in case that multiple ViewportProvider are rendered on the same page they should delegate the state instead of reinitializing event listeners and observers.
This can especially come in handy when the provider is used within different libraries.
Note: Might require to add the version to detect whether the providers are compatible with each other.
The text was updated successfully, but these errors were encountered:
In case multiple ViewportProviders are renderd within the same
page only the most outer provider should collect scroll and
dimension updates to to reduce duplicate work.
Issue: #3
The version is currently no used but can be used in
the future to check for compatibility when ViewportProviders
with different versions are rendered within the same tree.
Therefore it is required to introduce it now.
Issue: #3
To reduce stress on the JS thread in case that multiple
ViewportProvider
are rendered on the same page they should delegate the state instead of reinitializing event listeners and observers.This can especially come in handy when the provider is used within different libraries.
Note: Might require to add the version to detect whether the providers are compatible with each other.
The text was updated successfully, but these errors were encountered: