Overview
The SDK Devtool is a UI containing logs of your queries, commands, and events.
Installation
It comes pre-installed with the SDK. You just need to import the component and call it in your React app. It takes in one prop:defaultOpen
. If you set it to true
, the Devtool will be open by default.
To open the Devtool, there’s a button in the bottom right corner of the screen.
App.tsx
The Devtool is only included in your JS bundle when
process.env.NODE_ENV === 'development'
. You
don’t have to worry about it leaking to production.