How to use the userbase-js.insert function in userbase-js

To help you get started, we’ve selected a few userbase-js examples, based on popular ways it is used in public projects.

github encrypted-dev / userbase / src / proof-of-concept / client / components / Dashboard / logic.js View on Github external
const insertTodo = async (username, todo, handleRemoveUserAuthentication) => {
  try {
    await userbase.insert(getDbName(username), { todo })
  } catch (e) {
    _errorHandler(e, 'insert todo', handleRemoveUserAuthentication)
  }
}

userbase-js

Userbase JS browser SDK

MIT
Latest version published 2 years ago

Package Health Score

57 / 100
Full package analysis

Similar packages