2020-10-06
3101
#react
Doğacan Bilgili
26428
Oct 6, 2020 ⋅ 11 min read

Building Figma plugins with React

Doğacan Bilgili A software developer who is also into 3D-modeling and animation.

Recent posts:

TypeScript logo over a pink and white background.

Drizzle vs. Prisma: Which ORM is best for your project?

Compare Prisma and Drizzle ORMs to learn their differences, strengths, and weaknesses for data access and migrations.

Temitope Oyedele
Nov 21, 2024 ⋅ 10 min read
Practical Implementation Of The Rule Of Least Power For Developers

Practical implementation of the Rule of Least Power for developers

It’s easy for devs to default to JavaScript to fix every problem. Let’s use the RoLP to find simpler alternatives with HTML and CSS.

Timonwa Akintokun
Nov 21, 2024 ⋅ 8 min read
Rust logo over black marble background.

Handling memory leaks in Rust

Learn how to manage memory leaks in Rust, avoid unsafe behavior, and use tools like weak references to ensure efficient programs.

Ukeje Goodness
Nov 20, 2024 ⋅ 4 min read
Robot pretending to be a person.

Using curl-impersonate in Node.js to avoid blocks

Bypass anti-bot measures in Node.js with curl-impersonate. Learn how it mimics browsers to overcome bot detection for web scraping.

Antonello Zanini
Nov 20, 2024 ⋅ 13 min read
View all posts

2 Replies to "Building Figma plugins with React"

  1. https://www.echojs.com/comment/37652/1

    Interresting, though for something like this, that’s embedding in another application instead of being the application, I’d probably reach for preact or hyper as another JSX transform option, which will be much lighter. You can even swap in prod vs dev builds for testing. React adds a lot of tooling and niceties that come with a ton of overhead.

    You’re looking at probably a 80k deliverable for the example out of the box, vs under 5k using hyper+jsx or preact.

    I like React. This just is a case where using something smaller/lighter but being very similar in practice would be better.

    1. https://github.com/lukejacksonn/hyperapp-wiki/blob/master/docs/jsx.md
    2. https://github.com/preactjs/preact
    3. https://github.com/kenoxa/svelte-jsx

Leave a Reply