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
createCrudResource
which already has a
save
save
,
load
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?
Recent Announcements
No replies yet
Join the Discord to continue the conversation
S
SolidJS
Solid is a declarative reactive Javascript library for creating user interfaces.