React.js

How I name event handlers in React with TypeScript.

I prefer to use a few simple conventions to name React event handlers.

Read
React.js

How I update objects in the state array with React Hooks and TypeScript.

I use the useState hook to update objects in the state array in my React projects.

Read
React.js

How I delete objects in the state array with React Hooks and TypeScript.

I use the useState hook to delete objects from the state array in my React projects.

Read
React.js

How I add objects in the state array with React Hooks and TypeScript.

I use the useState hook to handle my state updates for simple cases. Also, I don't mutate non-primitive values in states directly.

Read