Core Principles
Declarative API
Describe what your application should look like at any point in time.
Component-Based
Build encapsulated components that manage their own state.
Flexible
Integrate with any build tool or framework.
Elena is an open-source library designed for modern web applications with a focus on performance and extensibility.
import { createApp } from '@elenebelo/core';
const app = createApp();
app.start();
Use package manager of choice
npm install @elenebelo/core @elenebelo/ui
For quick prototyping
<script type="module" src="https://cdn.elenebelo.com/core/latest.js"></script>
Describe what your application should look like at any point in time.
Build encapsulated components that manage their own state.
Integrate with any build tool or framework.
Method | Description | Example |
---|---|---|
createApp() | Initializes a new application instance |
const app = createApp();
|
render() | Renders component to DOM |
render(
|
useState() | Manages component state |
const [count, setCount] = useState(0);
|