Skip to content

Latest commit

 

History

History
 
 

core

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