Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

[Feedback] Preserve JSX mode

$
0
0

Glad to hear some progress is made! Thanks for diving back into it.

Is spreading props common in Solid? I guess what’s going on here in terms of ReScript is that JSX props are represented as records, and record updates are immutable. So, it needs to create a new record to be consistent with the expectations.

EDIT: Actually, I don’t see the reason for that happening either. That immutable update shouldn’t happen in preserve mode I guess.


Viewing all articles
Browse latest Browse all 2592

Trending Articles