News for hackers. Stuff that matters.
Re:Show HN: InstantDB – A Modern Firebase by RoboTeddy on Friday August 23, 2024 @01:05PM (#41330744)
I haven’t seen a better solution than remolacha’s #2 (create separate temporary state for the form).

Forms just inherently can have partially-finished/invalid states, and it feels wrong to try and kraal model objects into carrying intermediary/invalid data for them (and in some cases won’t work at all, eg if a single form field is parsed into structured data in the model)

Re:Show HN: InstantDB – A Modern Firebase by aidos on Friday August 23, 2024 @01:50PM (#41331248)
Exactly that. It’s tempting to try to combine them - we’ve all been there. They’re subtly but inherently different, in my experience.