React DevTools

With react-figma it is possible to use React DevTools electron app.

  1. If you don't have React DevTools app installed follow steps from Installation section

  2. In your src/ui.tsx import connectToDevTools helper:

import { render, connectToDevTools } from 'react-figma';
  1. Call connectToDevTools function right before your render function:
connectToDevTools();
render(<App />);