Orbit is a lightweight JavaScript framework for building reactive user interfaces easily.
- Reactivity: Use signals (
signal) to manage your application's state. - Automatic Binding: Bind signals to DOM elements with
bind. - Simple Rendering: Render components with
render.
src/: Contains the framework's source code.core/render.js: Implements therenderfunction for rendering components.utils/signal.js: Implements thesignalfunction for managing reactive state.utils/bind.js: Implements thebindfunction for binding signals to the DOM.
examples/: Contains usage examples of the framework.vite.config.js: Vite configuration for development and build.
-
Clone this repository:
git clone https://github.com/your-username/orbit.git cd orbit -
Install dependencies:
npm install
-
Start the development server::
npm run dev