#Hooks
2 notas · última:
React Component Mental Models
The article contrasts Container/Presentational components with Stateful/Stateless components and argues that hooks make the older split less necessary by keeping state and business logic closer to where they are used.
Top 7 React Hooks you must know
The text presents seven React hooks and summarizes what each one is for: state, memoization, unique ids, callbacks, effects, refs, and context, with a focus on more modular and maintainable code.
