Typescript – the best JavaScript to date.
React – renders stuff, so you don't have to.
Webpack – bundles it all together.
workers – heavy computation? Try using Webworkers! Check demo.worker.ts and app.tsx. Workers MUST be inlined due to Figma plugins system design, so be size-aware.
debug – smarter console.log
. Can be switched on/off via process.env.DEBUG
. Default: on
in dev mode, off
on prod.
figma-messenger – helper utility for type-safe communication between iframe and main thread.
Clone, copy/paste and run yarn dev
or yarn build
for production build.
BSD-3