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
TimeProvider: TimeProvider is no longer required (e17d1e7)
TimeProvider: Add custom timeSync prop to Component (2c5e2da)
BREAKING CHANGES
React 16.8 is now required, since all component
variations are based on the useTime and useCountdown hooks now.
It is no longer necessary to have a <TimeProvider>
component in the View hierachy. If no Provider is available, a default
timeSync instance will be used.
Custom TimeSync instance
You can now add a custom TimeSync instance to a TimeProvider
Component using a prop, to control where timers are added.
Note: TimeProvider will not remove all timers and stop countdowns on
custom TimeSync instances when unmounting.