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 Jan 13, 2023. It is now read-only.
When trying to do conditional check on model number of elements infinite rendering happens, and useEffects keeps running forever.
Sample code , notice renderList code if uncomment the // if(categoryStore && categoryStore.categories.length > 0) {
then useEffects will keep calling to infinite.
Please advice what's the problem in this example?
The text was updated successfully, but these errors were encountered: