React

Ignore First Render in React’s useEffect()

Sometimes you want to use useEffect() to catch a change in a state, but only after the initial value has been set. For example, you have a state called selectedId, [...]

2024-03-18T13:28:22-03:00October 16, 2023|

React Component with Children

Creating a React component that contains children can be as easy as including a children property and including {props.children} in the Return function. But knowing the proper type to use [...]

2023-05-05T11:18:20-03:00May 5, 2023|
Go to Top