😅Using state when it's not necessary can lead to unnecessary re-renders. Consider using refs instead.
🔄Always use the function version of setState to ensure correct variable updates, especially when setting state based on previous state.
📚Use the effect version of useState to handle side effects, such as logging or network requests, after the component has rendered.