S
SolidJS14mo ago
zishh

CRUD App - Suggestion for Utility Functionality

Hey there! I'm developing an app which contains mostly CRUD functionality using typescript + solid. But contrary to all examples I've found on the web, there are a lot of details which have to be handled e.g. client-side validation before saving the data; handling of server-side validation responses; failure handling in general, ... So while my setup works, it feels like there is boilerplate which is repeated for every type. So what I thought might make sense is to create a helper like createCrudResource which already has a save, load, a signal for the current value, ... Does something like this make sense? Is there some article and/or open source project which shows a solution for this problem?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server