Skip to content

🦕 React/Preact Hooks for Typesaurus, type-safe Firestore ODM

Notifications You must be signed in to change notification settings

kossnocorp/typesaurus-react

Repository files navigation

🎉️ NEW: Typesaurus X is out!

🦕 Typesaurus React

React Hooks for Typesaurus, type-safe Firestore ODM.

Read docs

Installation

The library is available as an npm package. To install Typesaurus, run:

npm install --save @typesaurus/react typesaurus firebase firebase-admin

Note that Typesaurus React has Typesaurus listed as a peer dependency, which also requires the firebase package to work in the web environment and firebase-admin to work in Node.js. These packages aren't listed as dependencies, so they won't install automatically with the Typesaurus package. Also, you'll need react installed.

Changelog

See the changelog.

License

MIT © Sasha Koss