React Knowledge Pills
5 pills about React.
react Intermediate
Event handlers arguments in React
onClick, onChange, onBlur... We usually pass a reference to the function handler but how do we add more arguments instead of just the event itself?
react Advanced
React Dark Mode hook
We'll create useDarkMode hook to switch between light and dark themes.
react Advanced
React fetch hook
Let's create a custom hook for fetching data with the browser fetch.
react Intermediate
React toggles hook
Having too many dialogs, modals, popups and state starts to become repetitive? Solution - write a custom hook.
react Intermediate
React counter hook
Let's create a custom hook for tracking the counter state and exposing the current counter value with increment, decrement handlers.