It would be awesome if someone from NordCraft team could have a look at a project. The editor is very laggy, and I think it should not be due to a lack of use of components in this case. The only thing I can think of is having large JSON data as test values on the editor? Can that affect performance drastically?
Armand
3 months ago
If you have a large repeat (and especially if each repeat consists of a few elements) this can cause the editor to become laggy - in my experience. I usually make sure my test data is limited to less than 50 items at most when using repeats.
Not so many repeated elements, but they contain quite a lot of data. I'll try that
NoCode ProCode
3 months ago
I had this issue too it’s not the editor. It’s your problem. This usually happens when you have something like Claude in the background that does AI streaming or you use the AI streaming assistant from Nordcraft in the editor + using Chrome.
I'm not streaming anything, using components and spark
yoelfdz
3 months ago
I get the issue of the editor on a loop, trying to save with no success. That happens if the limit of the websocket to Cloudflare is reached. It happens when I add a large JSON as an attribute test data, which is why I suspect the issue is test values with huge JSONs
The websocket disconnects after a certain payload size. While in the editor you can’t use that much data. It’s also kind of unneeded since it’s a dev environment
I’ve stress tested the editor too to see how much data I can put in it by pulling large data sets lol
Lucas G
3 months ago
The websocket crashing doesn’t make it laggy though so maybe you’re in some weird in-between where it’s barely hanging on
How does it perform on live though?
yoelfdz
3 months ago
To clarify, I'm facing the performance issue, not the WebSocket. That only appears when adding huge JSON as a test value, which I avoid doing No problem at all on live view, it's just the editor. There's a few-second lag on most clicks
NoCode ProCode
3 months ago
Team toddle- I have the same issue for very big json payloads too.