An open API service indexing awesome lists of open source software.

https://github.com/okotoki/figma-plugin-starter

๐Ÿ›  Figma plugin starter โ€“ Typescript/React/Webpack
https://github.com/okotoki/figma-plugin-starter

figma figma-plugins react typescipt webpack

Last synced: 11 months ago
JSON representation

๐Ÿ›  Figma plugin starter โ€“ Typescript/React/Webpack

Awesome Lists containing this project

README

          

# Yet another Figma plugin starter

## Basics
**Typescript** โ€“ the best JavaScript to date.
**React** โ€“ renders stuff, so you don't have to.
**Webpack** โ€“ bundles it all together.

## More goodies
**workers** โ€“ย heavy computation? Try using Webworkers! Check [demo.worker.ts](src/ui/app/demo.worker.ts) and [app.tsx](src/ui/app/app.tsx). Workers MUST be inlined due to Figma plugins system design, so be size-aware.
**[debug](https://www.npmjs.com/package/debug)** โ€“ smarter `console.log`. Can be switched on/off via `process.env.DEBUG`. Default: `on` in dev mode, `off` on prod.
**[figma-messenger](https://github.com/okotoki/figma-messenger)** โ€“ย helper utility for type-safe communication between iframe and main thread.

## Usage
Clone, copy/paste and run `yarn dev` or `yarn build` for production build.

## License
BSD-3