Skip to content

theanshumaangupta/React-Built-From-Scratch

Repository files navigation

React JS (Built from Scratch)

A React-inspired UI framework from scratch in pure JavaScript, no libraries, no frameworks.

Features

  • Custom file format .ansh (like React's .jsx)
  • Built transpiler that converts .ansh to JS. (like Babel)
  • Custom hooks Mystate & Myeffect (like useState & useEffect)
  • Implemented my live server project for file watching & hot reload. (like Vite)

To Run

  1. npm i (to install WS)
  2. npm run go

Demo

Notes

  • You can see syntax rules or maybe constraints for .ansh file types if u need them (public->rulebook.txt)