
🛠️ Use-Fs – A React Hook for the File System Access API and OPFS
Summary
Use-Fs is a React hook that interfaces with the File System Access API and Origin Private File System. It watches directories to re-render when files change and enables direct reading and writing of files in supported browsers.
Why it’s interesting
It adds OPFS support allowing file system interaction without pickers or permission prompts while working across Safari and Firefox.
Target user
Developers building browser-based applications that interact with the file system
Source metrics: Points 3 · Comments 0
HN discussion · Project
Source: #HackerNews / Show HN
Summary
Use-Fs is a React hook that interfaces with the File System Access API and Origin Private File System. It watches directories to re-render when files change and enables direct reading and writing of files in supported browsers.
Why it’s interesting
It adds OPFS support allowing file system interaction without pickers or permission prompts while working across Safari and Firefox.
Target user
Developers building browser-based applications that interact with the file system
Source metrics: Points 3 · Comments 0
HN discussion · Project
Source: #HackerNews / Show HN