A basic frontend framework built from scratch for learning purposes.
Note
This project is a work in progress and is strictly for educational purposes. It is not intended for production use.
This framework is built around five major systems:
- Rendering System: Converting our logic into actual DOM elements.
- Reactivity System: Tracking state changes and automatically updating the UI.
- Reconciliation (VDOM): Efficiently diffing the virtual DOM to minimize real DOM manipulations.
- Component Model: A structured way to build reusable UI pieces.
- Event Delegation: Handling user interactions efficiently across the application.
The project uses a monorepo-style structure to keep the framework logic separate from the application logic:
packages/core/: The engine of the framework.src/: A playground/app area to test the framework features as they are built.
- Vite: For fast development and bundling.
- TypeScript: For type safety and better developer experience.
To run the app:
npm install
npm run dev