Save libraryData
using @solid-primitives/filesystem
#7
Labels
refactor
suggestion to improve (refactor) the code
libraryData
using @solid-primitives/filesystem
#7
Instead of writing the data to system yourself, you can use
@solid-primitives/filesystem
to make a wrapper totauri fs
.Once your
libraryData
is reactive (i.e. using a store from #6 in a context #5)Solid docs:
https://docs.solidjs.com/concepts/effects#effects
https://docs.solidjs.com/reference/basic-reactivity/create-effect
https://docs.solidjs.com/concepts/stores#extracting-raw-data-with-unwrap
Solid Primitives docs:
https://primitives.solidjs.community/package/filesystem
The text was updated successfully, but these errors were encountered: