Redux Tutorial #2 - Immutable JS

mafraz
385 بار بازدید - 8 سال پیش - Immutable Javascript means that we're
Immutable Javascript means that we're never going to change a value once it's been set on an object. It might sound complicated, but it's really quite simple. We simply always create new objects and copy their values over. If you want to learn Redux for React.js applications, you have to know how to code immutable JS objects, since it's built upon that. Instead of changing values on a store, we write reducers to modify those values and return a new object instead.
8 سال پیش در تاریخ 1395/11/23 منتشر شده است.
385 بـار بازدید شده
... بیشتر