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.
I'm using using the File System Access API with an application build with React and Redux. I need to store
FileSystemDirectoryHandleandFileSystemHandleobjects 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, orpostMessage, as stated in this article.So I'm wondering if I can serialize the manually, and so use them with a Redux application.