https://github.com/andywer/react-commandments
📖 Thou shalt honor thy reactive code and keep it holy.
https://github.com/andywer/react-commandments
Last synced: 9 months ago
JSON representation
📖 Thou shalt honor thy reactive code and keep it holy.
- Host: GitHub
- URL: https://github.com/andywer/react-commandments
- Owner: andywer
- Created: 2016-10-27T13:45:18.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-02T09:48:42.000Z (over 9 years ago)
- Last Synced: 2025-03-27T21:24:00.867Z (over 1 year ago)
- Homepage:
- Size: 2.93 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React Commandments
#### § 1 Thou shalt not have any frameworks before me.
#### § 2 Thou shalt not mutate thy props nor state.
#### § 3 Thou shalt compose thy components.
#### § 4 Remember thy prop types and keep them holy.
#### § 5 Honor thy stateless components.
#### § 6 Thou shalt not clone thy children.
#### § 7 Thou shalt not make assumptions about other components.
#### § 8 Thou shalt not copy from other's components and call it thy own.
#### § 9 Thou shalt not inherit from other components.
#### § 10 Thou shalt avoid context and refs.
## Thou have any proposals?
Open an [issue](https://github.com/andywer/react-commandments/issues) or [pull request](https://github.com/andywer/react-commandments/pulls)!