16. ReactConcept
View Engine - Not a Framework
• Just the V from MVC
• No routing
• No dependency injection
• No major logic components (controllers)
17. ReactConcept
Carpaccio Reach Components
• The entire page is split into a tree of
V items
• Each V item contains:
• State
• Render Method
V
Show Feeds
List
V
Show Feed
V
Show
Comments
V
Show
Comment
V
Add
Comment
V
Show Ad
18. ReactConcept
Single Way Data Flow
• Forget about 2 way data binding
• The results of V are immutable
• Reconcile process - through away the previous layout and
recreate it on every change
onChange
19. ReactConcept
Virtual DOM
• The DOM is presented as javascript object
• Each reconcile process creates a new revision of the virtual DOM
• React will compare the two revisions and create list of execution
actions that will be executed on the actual DOM
onChange
old
new
compare
execute