Live data from Hacker News

Making Figma better for developers with Dev Mode

figma.com

31–40 of 238 posts

Re: Making Figma better for developers with Dev Mode

#32

Videos on the page are not loading for me, seeing a bunch of "Minified React errors" in the console

If you click the link in the errors it tells you what they mean.

- "Text content does not match server-rendered HTML."

- "Hydration failed because the initial UI does not match what was rendered on the server."

- "There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."

None of these should impact the videos, though, because the fallback (client-side rendering) should work too. So if that's causing the issue, it's because there's a larger problem enabling it.

Re: Making Figma better for developers with Dev Mode

#33
Really looking forward to this progressing to automatic React component generation and onto bidirectional sync; prompting automatic pull requests on Figma changes for affected components.

I find that there are few tasks in software development more uninteresting than converting Figma designs into React components. The day I no longer have to do that will be a great day indeed :)

Re: Making Figma better for developers with Dev Mode

#34

Has anyone else worked with teams where their entire idea of "product" was to create 100s of designs in Figma, and then just hand them to developers? What started this mentality?

Yup. This is far from new. Used to be getting a zip file full of low quality photoshop exports and you would have better luck pulling teeth out of a cranky tiger(1) than getting proper assets (or the raw files) out of the art team.

My favorite was the PowerPoint presentation. Didn’t happen to me but I’ve heard about it.

1: Somewhat redundant. Any tiger you try to get teeth out is likely to be cranky before you finish the retrieval.

Re: Making Figma better for developers with Dev Mode

#35

Seems interesting, and admittedly I might have missed this, but grabbing icons as individual SVGs is probably what takes me the longest when going from design to code. I have to click on each asset, name it properly, and then export it. Over, and over again. All from different layers, and pages. If there was some sort of asset export that obeyed some spec on how to size and file name that’d save hours and hours of wo…

Right Click the icon > Copy/Paste as > Copy as SVG We use that and just paste it into the codebase. I've also used a bulk export plugin that autonames things. Would have to lookup the plugin name if you're interested.

[deleted]

Re: Making Figma better for developers with Dev Mode

#36

Hey all! Emil here from the Figma team that brought you Dev Mode and Figma for VS Code today! Really interested to hear what you think and also here to answer your questions. We are super excited to invest more into developers in the future, today is just the start of that!

This looks really awesome. Are there any plans to support teams that do not use VS Code or GitHub?

Re: Making Figma better for developers with Dev Mode

#37

I just want to be able to download the original, full quality, uncropped version of an image. And to have built-in options for compressing images. Also I hope dev mode prevents designers from locking/hiding elements and layers, which makes it very difficult to export the elements you actually need.

I miss Sketch. Something I thought I'd never say

Re: Making Figma better for developers with Dev Mode

#40

Has anyone else worked with teams where their entire idea of "product" was to create 100s of designs in Figma, and then just hand them to developers? What started this mentality?

What's worse is treating engineers like "just implement the mockup eyeroll" but then the logic of the mockup makes no sense with real data or product.

I'd rather have a napkin sketch that we can work on together vs throwing pictures over the wall.

As impressive as it is, I feel like Figma makes this situation worse. It's like "see we've figured it all out devs, look how nice this looks. No discussion needed"

Post reply on HN