SolidJSS
SolidJSโ€ข3y agoโ€ข
8 replies
Alex Lohr

using createResource on node

I am trying to create a filesystem primitive that abstracts different file systems (virtual on localStorage, typescript-vfs, web filesystem api, web filesystem access api, node, tauri); synchronous file systems return signals on read access, whereas asynchronous file systems are supposed to return resources. Unfortunately, I get an error on node with asynchronous file systems; sharedContext is not defined. Is that correct?
Was this page helpful?