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
There are a number of instances in the application where we are checking if it is the first render in order to perform some actions. Ensure these are using Ref's instead of States.
There is potential to create a custom re-usable hook that could help centralize and make code more consistent.
There are a number of instances in the application where we are checking if it is the first render in order to perform some actions. Ensure these are using Ref's instead of States.
There is potential to create a custom re-usable hook that could help centralize and make code more consistent.
Similar to the following.
More information on the benefits of custom hooks
https://react.dev/learn/reusing-logic-with-custom-hooks
The text was updated successfully, but these errors were encountered: