@instantdb/core
TypeScript icon, indicating that this package has built-in type declarations

0.18.9 • Public • Published

Shows the Instant logo

@instantdb/core

stars

Get Started · Examples · Try the Demo · Docs · Discord

Welcome to Instant's vanilla javascript SDK.

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 tutorial to set up a live app in under 5 minutes! Or you can try a demo in your browser :).

Questions?

If you have any questions, feel free to drop us a line on our Discord

Readme

Keywords

none

Package Sidebar

Install

npm i @instantdb/core

Weekly Downloads

4,832

Version

0.18.9

License

none

Unpacked Size

2.74 MB

Total Files

328

Last publish

Collaborators

  • stopachka
  • nezaj
  • markyfyi
  • dww
  • reichertjalex