https://github.com/joegasewicz/arobase
A micro frontend library, inspired by BackboneJS
https://github.com/joegasewicz/arobase
Last synced: 7 months ago
JSON representation
A micro frontend library, inspired by BackboneJS
- Host: GitHub
- URL: https://github.com/joegasewicz/arobase
- Owner: joegasewicz
- License: mit
- Created: 2024-03-10T23:53:07.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-03-02T12:56:46.000Z (8 months ago)
- Last Synced: 2025-03-02T13:37:13.978Z (8 months ago)
- Language: TypeScript
- Homepage:
- Size: 72.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Arobase
A micro frontend library, inspired by [BackboneJS](https://backbonejs.org/).⚠️ Work in progress, please call back soon...
### Why Micro?
Arobase is designed to be a *drop in* micro app within an existing html template,
ideal for such web frameworks as Rails, Django or Spring Boot.### Register Views
```html
const arobase = new Arobase("feeApp", model);
arobase.registerView("main-view", function(state) {
state.tags.update("title", "Welcome to Arobase!");
state.tags.update("body", "Some more info...");
});arobase.registerView("main-feed-view", function(state) {
state.tags.update("title", "This is the main feed heading...");
state.tags.update("body", "Main feed content...");
});```