Hacker News new | ask | show | jobs
by gablg1 3034 days ago
All credit for the monaco editor to our awesome friends at Stackblitz (stackblitz.com). Gonna announce the depth of that partnership soon ;)

Native VS Code integration is already here! The “3 screens” you see (design, code, preview) are just there for the demo— only the design editor on top is part of Pagedraw. You get to use your regular text editor (VS Code included), and localhost env if you use the full version and install the CLI https://documentation.pagedraw.io/cli/

> Design -> Code is definitely a big problem. Creation time is one, but updating should be easy too.

Updating is super easy if you do the updates in Pagedraw. Since everything is component based, you should never touch the generated code. All the code you write goes in adjacent components that import and are imported by Pagedrawn components. You never need to roundtrip, because you never need to edit the generated code

1 comments

We have a ton of components. And our sketch files have slight mismatches. So I wondered if it could do a two sided sync.

Code accounts for so many states that sometimes design doesn’t account for. Error, loading, empty, too many items, network disconnected etc.