Skip to content

Support Use Case : store FileSystemDirectoryHandle or FileSystemHandle in Redux Store #368

Description

@VittorioAccomazzi

I'm using using the File System Access API with an application build with React and Redux. I need to store FileSystemDirectoryHandle and FileSystemHandle objects in the redux store, which requires to be serializable.

I see from the specification that these classes are serializable, it appears to me that they are serialized only by the API for IndexedDB, or postMessage, as stated in this article.

So I'm wondering if I can serialize the manually, and so use them with a Redux application.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions