Why do we need it?
DOM
Document Object Model
Application
Mount / Insert a VDOM
Virtual DOM or VDOM
Virtual Node / VNODE
VNODE
Mount method
Component
Render Fn
Data Reactivity
Sub Component
Big Component
Todo
Title Component
TodoList Component
Form Component
Init Phase
Init Vnodes
Insert into DOM
Rendering Phase
writing something
I am a new Todo
Post Patch
Pre patch
To Do List Component
Adding a todo
Push new todo
Insert
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 !
By Florent Giraud