Why do we need it?
DOM
Document Object Model
Application
DOM
Mount / Insert a VDOM
Virtual DOM or VDOM
Virtual Node / VNODE
VNODE
VNODE
Application
Mount method
Component
Render Fn
Data Reactivity
Sub Component
Sub Component
Big Component
Todo
Component
Todo
Component
Title Component
TodoList Component
Form Component
Init Phase
Init Vnodes
Insert into DOM
Big Component
Todo
Component
Todo
Component
Title Component
TodoList Component
Form Component
DOM
Rendering Phase
Form Component
writing something
I am a new Todo
Post
Patch
Pre patch
DOM
To Do List Component
Adding a todo
Push new todo
Insert
DOM
Why do we need a framework?
- How much time it takes to set it up and it's not yet complete.
- I could have spent this time learning about a "real" framework.
- Maintaining / evolve it is very time consuming because it will never end.
- When maintenance and work is required, nothing can be done at work.
- Performance issues.
- Use of the same coding syntax in order to reduce bugs and simplify understanding
THANK YOU !