Skip to content

Latest commit

 

History

History
21 lines (21 loc) · 1.93 KB

File metadata and controls

21 lines (21 loc) · 1.93 KB

TreactJS

A javscript library which looks almost like ReactJS

image

Features

  • You can make componenets in a similar manner to ReactJS (check app.js)
  • You can only add components, no feature of removing or updation (maybe later)
  • Uses Fiber Tree data structure to render components for efficiency

Usage procedure

Make sure to include these in every page. They tell babel to use Treact instead of React

import Treact from "./Treact/treact";
/** @jsx Treact.createElement */

To-Do

  • Implement something like React hooks
  • Add a deletion and updation feature

Give a ⭐ if you liked it!

Free Software, Hell Yeah!