Skip to content
Myr

Merge pull request #9 from benbraou/typos

Before adoption: this commit came in with the history the project adopted, so no landing records it.

fix typos

authored by Michel Weststrate · committed by GitHub · parents 0574ae0, 3f7d951 · Browse files · 2 files+5 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+5 added−5 removed

  • other:+5 added−5 removed

2 files+5 added−5 removed

modified:immer.js+2 added-2 removed
modified:readme.md+3 added-3 removed
1# Immer23_Your personally assistence for creating your next immutable state_3_Your personally assistance for creating your next immutable state_45---67Immer (German for: always) is a tiny package that allows you work with immutable state in a more convenient way.
4 unmodified lines
12<center>1314![immer.png](immer.png)1516Using immer is like having a personal assistent; he takes a letter (the current state), and gives you a copy (draft) to jod changes onto. Once you are done the assistent will take your draft and produce the real inmutable, final letter for you (the next state).16Using immer is like having a personal assistant; he takes a letter (the current state), and gives you a copy (draft) to jod changes onto. Once you are done the assistant will take your draft and produce the real immutable, final letter for you (the next state).17</center>1819## API20
44 unmodified lines
65* Use the language© to construct create your next state66* Strongly typed, no string based paths etc67* Deep updates are trivial68* Small, dependency free library with minimal api surface69* No accidential mutations of current state, but intentional mutations of a draft state69* No accidental mutations of current state, but intentional mutations of a draft state7071## Reducer Example7273A lot of words; here is a simple example of what difference that could make in practice.
78 unmodified lines