save vs form submit #4
alan-stokes
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
we are using https://github.com/tanstack/query which might offer some facilities for enabling dynamic saving without bombarding the database |
Beta Was this translation helpful? Give feedback.
1 reply
-
If we implement this we just have to be aware that some of the fields in the database have non-null constraints meaning some of the objects we want to persist cannot be fully null, and there's also the semantics of objects being referred to by other objects or being contained by other objects. But it is currently 6pm on a Friday evening so my brain might be frazzled. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
there is a possibility to not need to have a save / submit button, but instead, have it dynamically save each entry. allowing a more..... intuitive UI. but it does mean adding a bit more boiler plate, as ya would need to have debouches and subscriptions to changes to ensure we don't bombard the database withe very character.
Beta Was this translation helpful? Give feedback.
All reactions