Big refactor after upgrading to svelte5
This release, does not add any new features to this project, just bunch of rewrites to simplfy the code, for instance introducing a new EnhancedForm
component which encapsulates the use:superEnhance
action and manages the shared state itself.
I made up some conventions in this relesae as well, for instance all imports are in the script context="module
and the logic is in the script
, also component imports will be at the top of all other imports for the sake of consistency. I hope this convention is right because I have nobody tell me what is wrong and what is not and go by my stug
.reverse().
I wish there was somebody to comment or review this project or just see it :(
Things I'm proud of:
- draggable/dropzone actions
- superEnhace
- the whole type safety thing (specially in form actions and the integration of superEnhance with it)
- generated clients and how they are integerated with the client-wrapper stuff (again the type safety)
- have I mentioned type safety