Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1011 Bytes

README-en_US.md

File metadata and controls

41 lines (26 loc) · 1011 Bytes

Sch

Build Status

English | 中文

What is Sch?

A mini React-like.

A declarative JavaScript library for building user interfaces.

Why is name Sch?

"There is an internal joke in the team that React should have been called “Schedule” because React does not want to be fully 'reactive'."

Why create Sch?

To learn React.

Features

  • ✅ React tree (Virtual DOM)
  • ✅ Fiber
  • ✅ React API
  • ✅ TypeScript(Not Flow)
  • ✅ Event system
  • ❌ SSR
  • ❌ JSX
  • ❌ Legacy React Context

In order to ensure a clear and concise code, Sch makes the following choices

  • Only the 88+ version of chrome is guaranteed to run normally.
  • Assumes that user can use it correctly and not cause errors.
  • There is only one Sch tree in an application.
  • LegacyRoot, BlockingRoot, concurrentRoot only support LegacyRoot.

TODO

  • Hook