onlook-dev / onlook

The open source, local-first Webflow alternative. Design directly in your live React site and publish your changes to code.
https://onlook.dev
Apache License 2.0
2.6k stars 124 forks source link

[SPIKE] Remove the publish to code step #293

Open Kitenite opened 1 week ago

Kitenite commented 1 week ago

Describe the feature

We discussed removing publish to code at length here: https://discord.com/channels/1258534787279355975/1261446485304934402/1280714006327201802

Explore what writing to code in real-time looks like. Discuss with users if possible on their preference.

Suggestions:

The other pro is the snappiness of real-time writing but we can also simulate first on the DOM, queue the change and write to code asap

There's the point to A/B testing but there are solutions against it such as marking a frame draft such that it doesn't write to code (with reduced functionalities).

re: a/b testing, this can be implmented on an even higher level, such as outright duplicating a component/page in the code, and then having users delete the version they don't like