Skip to content

huanhulan/simple-react

Repository files navigation

My-React

My simple implementation of Functional Component Only React.

Supported React API

  • Functional Component
  • render()
  • cloneElement()
  • createContext()
  • createElement()
  • createPortal()
  • createRef()
  • hooks()
  • memo()

Mono-repo structure

.
└── packages
    ├── app
    └── my-react

Playground

Install dependencies

yarn

Then run the following command

yarn start

Build

Run the following command

yarn build