2768 shaares
2488 private links
2488 private links
9 results
tagged
react
Alternativas a la gestión del estado de la aplicación
Cómo sacar partido a una de las features más interesantes incorporadas por React recientemente.
Redux solves a problem that might not be clear in the beginning: it helps giving each React component the exact piece of state it needs.
Redux holds up the state within a single location.
Also with Redux the logic for fetching and managing the state lives outside React.
Redux is framework-agnostic. Learn it once, use it everywhere (Vue JS, Angular).
A higher-order component (HOC) is an advanced technique in React for reusing component logic. HOCs are not part of the React API, per se. They are a pattern that emerges from React’s compositional nature.