Quickstart
Add Quill to your app in less than a minute
1. Install dependencies
Install @quillsql/react
using your favorite package manager:
2. Add QuillProvider
You connect Quill to React with the QuillProvider
component. Similar to React’s Context.Provider
, QuillProvider
wraps your React app and places Quill Client on the context, enabling you to access it from anywhere in your component tree.
In App.js, let’s wrap our React app with an QuillProvider
. We suggest putting the QuillProvider
somewhere high in your app, above any component that might need to access Quill data.
3. Add your first component
After your QuillProvider is hooked up, you can add Quill Components to your app. Let’s start with the dashboard we created in the portal tutorial.
You can find the dashboard name in the portal at https://app.quill.co.
Underlying queries and charts can be updated via the Quill Portal, and the dashboard will render the newest version.