developit / developit/preact-redux-example
Math.random is forbidden in redux paradigm
Abierto
- Lenguaje dominante
- JavaScript
- Estrellas
- 198
- Forks
- 51
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
https://github.com/developit/preact-redux-example/blob/66590ec786df463b790b0603361ef21e3e178736/src/store.js#L6
`the reducer must be pure. Given the same arguments, it should calculate the next state and return it. No surprises. No side effects. No API calls. No mutations. Just a calculation`
https://redux.js.org/basics/reducers#handling-actions
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.