Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ui framework

File name:

immutable-flow.js

Flow: action -> state -> view

Pros: simple one way data flow

Cons: all time rerender all DOM elements

immutable-flow

virtual-dom.js

Simple sync virtual dom and real dom

Pros: doesn't re render all DOM element, just spot update DOM element

virtual-dom-json.js

Description of DOM elements in JSON format

More declarative approach to create DOM element

virtual-dom-jsx.js

VDom implements the “Factory” pattern, in this case it is primitive

Pros: Concisely writing DOM elements using our VDom than using JSON.

virtual-dom-jsx-react.js

Added react and react-dom to project

virtual-dom-jsx-react-add-jsx.js

Added babel at the top script of index.html for jsx

store.js

store.subscribe - adds listener to Store store.changeState - like action, changes state and runs all listeners

At our listener we add callback with renderView(store.getState());, when our lister starts, he starts renderView with new state, and React render/rerender DOM elements

dispatchAction.js

improved store

add-redux.js

add Redux

Flux

context.js

react-redux.js

add react-redux, redux-thunk

hooks.js

add hooks

router.js

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages