@superlayer/core
Version:
Superlayer's core local abstraction
30 lines (20 loc) • 843 B
Markdown
# @superlayer/core
Superlayer's core local abstraction.
[Documentation](https://interfacedb.com/docs) · [Source](https://github.com/InterfaceLDN/Superlayer)
Maintained by Superlayer, based on the Instant source. See LICENSE.md and NOTICE for attribution.
Welcome to [Superlayer’s](https://interfacedb.com) vanilla javascript SDK.
```javascript
db.subscribeQuery({ todos: {} }, (resp) => {
if (resp.error) {
renderError(resp.error.message);
return;
}
if (resp.data) {
render(resp.data); // wohoo!
}
});
```
# Get Started
Follow the [getting started in vanilla Javascript](https://www.interfacedb.com/docs/start-vanilla) tutorial to set up a live app in under 5 minutes!
# Questions?
If you have any questions, feel free to drop us a line on our [issue tracker](https://github.com/InterfaceLDN/Superlayer/issues)