An open API service indexing awesome lists of open source software.

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

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...");
});

```