Selectors - reducing the coupling of React/Redux-applications
git clone [email protected]:pdffiller/selectors-samples.git
cd selectors-samples
npm install # it is critical to install dependencies from master
Choosing the sample:
git fetch
git branch -a
git checkout sample-<n-m>
npm start
Then follow to the instruction printed to console.
For windows users: npm start
should be enriched with --port
and --public
options:
npm start -- --port <PORT> --public <you.loc.al.ip>:<PORT>
- Sample Application without selectors (branch: sample-1)
- Application within buggy selectors (branch: sample-2)
- Application with memorized selectors (branch: sample-3)
- Application with two lists and unwanted rendering (branch: sample-4-1)
- Two lists with dedicated selectors (branch: sample-4-4)