6. Why Immutable?
• Immutable data has no side effect!
• Shared mutable state is the root of all evil
- Pete Hunt
• You will not get hurt by yourself or someone
7.
8. Why Immutable? (cont.)
• Immutable.js is fast enough and memory
optimisation
• Why Om is faster ? Data or Value is immutable in
Clojure/ClojureScript
• Immutable + PureRenderMixin
12. Performance (cont.)
• Container Component Pattern
• Container Component as Data Layer
• Data fetching
• Component is all about its behaviour
• Testing Container or Gallery Container
17. Conclusion
• Embracing Immutable data for the future (JavaScript)
development
• Componentize your User Interface
• Loose coupling your component
• Container Component
• General Component
• You can pick the suitable solution for your needs