#State-Management
7 notas · última:
React Best Practices Ever Developer Should Know
The guide recommends keeping React state immutable, avoiding useState for everything, deriving and computing values during render when possible, using unique keys, and leaving useEffect for real side effects.
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.
State Management & Data Fetching Libraries in React
The article recommends starting with React’s built-in state tools for simple cases, adding state libraries only when complexity grows, and using data-fetching libraries to reduce boilerplate and improve loading and error handling.
How to use Reducer in React for better State Management: 2 effective ways for simpler design and architecture
The post argues that related React state should be grouped with useReducer instead of split across multiple useState hooks, and that a deep custom hook can hide reducer details and keep components simpler.
Announcing NgRx 19: NgRx Signals Features, Action Signals, and more!
NgRx 19 adds new Signals features, a signalMethod utility, dev-mode mutation checks, and Store support for dispatching actions from signal changes, and recommends NgRx Signals for local state.
How to build complex user interfaces without going completely insane
The article recommends delaying state updates in dialogs, separating model data from UI state, and favoring integration tests over unit tests when building complex web interfaces.
Evitando complexidade acidental ao estruturar sua aplicação Redux
O texto defende que o estado em Redux deve ser mínimo, normalizado e livre de duplicação ou derivados, tratando-o como um banco de dados em memória para evitar complexidade futura.
