(no title)
winton | 7 years ago
This lead me to the creation of DotStore (https://github.com/invrs/dot-store#readme), along with extensions to use it with React [1] and the filesystem [2].
"Dot prop" strings have proved to be an elegant solution to detect which props changed on the store. Usually this means doing a regex match in `shouldComponentUpdate`. We almost never use React's state anymore.
[1]: https://github.com/invrs/dot-store/tree/master/packages/dot-...
[2]: https://github.com/invrs/dot-store/tree/master/packages/dot-...
senoroink|7 years ago
winton|7 years ago