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
{{ message }}
This repository has been archived by the owner on Nov 11, 2024. It is now read-only.
Alec Larson edited this page Nov 5, 2020
·
1 revision
An incomplete list of best practices when using ople.
Avoid using event listeners in useOple initializers.
You risk dropping events in between the render and commit phases, which often leads to incorrect state.
This risk exists because the useOple hook pauses event listeners until the parent component is painted
for the first time.