Skip to content

hitenSharm/TreactJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

A JavaScript library that looks and works almost like ReactJS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published