Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 1 KB

README.md

File metadata and controls

50 lines (37 loc) · 1 KB

Deadly simple react implementation

intro

  • easy to read(learn)
  • write with typescript
  • easy extend

need basic knowledge of OOP.

how to dev

npm run dev run dev server npm run build well

TODOS

  • life cycles

    • mount

    • constructor

    • getDerivedStateFromProps()

    • render

    • componentDidMount

    • update

    • getDerivedStateFromProps

    • shouldComponentUpdate()

    • render()

    • getSnapshotBeforeUpdate()

    • componentDidUpdate()

    • unmount

    • componentWillUnmount()

    • forceUpdate()

  • event system

  • diff done

  • security issue

  • implement 'ref'

References

deadly simple react have fun with jsx