https://github.com/allevo/seqflow-js
Fresh javascript framework for Frontend
https://github.com/allevo/seqflow-js
front-end-development frontend frontend-framework
Last synced: 11 months ago
JSON representation
Fresh javascript framework for Frontend
- Host: GitHub
- URL: https://github.com/allevo/seqflow-js
- Owner: allevo
- License: mit
- Created: 2024-02-09T22:01:19.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-06-17T14:43:16.000Z (11 months ago)
- Last Synced: 2025-06-17T15:43:58.311Z (11 months ago)
- Topics: front-end-development, frontend, frontend-framework
- Language: TypeScript
- Homepage: https://seqflow.dev
- Size: 4.29 MB
- Stars: 62
- Watchers: 3
- Forks: 3
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SeqFlow JS
This framework is a lightweight, domain-driven front-end framework designed to simplify web application development, reduce complexity, and enhance user experience with an event-driven architecture.
See the [documentation](https://seqflow.dev) for more information.
## Installation
```bash
pnpm install @seqflow/seqflow
```
## Usage
```tsx
import { Contexts } from "@seqflow/seqflow";
interface Quote {
author: string;
content: string;
}
async function getRandomQuote(): Promise {
const res = await fetch("https://quotes.seqflow.dev/api/quotes/random")
return await res.json();
}
export async function Main({}, { component }: Contexts) {
// Render loading message
component.renderSync(
Loading...
);
// Perform an async operation
const quote = await getRandomQuote();
// Replace loading message with quote
component.renderSync(
{quote.content}
{quote.author}
);
}
start(document.getElementById("root"), Main, {}, {});
```
## License
SeqFlow JS is licensed under the [MIT License](LICENSE).