News for hackers. Stuff that matters.
Re:Utopia, a visual design tool for React, with code as the ... by rattray on Wednesday June 16, 2021 @10:36PM (#27535663)
Eh, I don't think that's necessarily the truly hard bit, at least for common cases with a library design that works. With something like `useStyles()` from material-ui, you get a fairly unique className, and coupled with a build tool that injects the file/line/col location into the className, should be able to map directly back.

There are no comments on this comment yet.