React DevTools
With react-figma it is possible to use React DevTools electron app.
If you don't have React DevTools app installed follow steps from Installation section
In your
src/ui.tsx
importconnectToDevTools
helper:
import { render, connectToDevTools } from 'react-figma';
- Call
connectToDevTools
function right before yourrender
function:
connectToDevTools();
render(<App />);