Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Describe differences to directly working with the File System Access API in README #71

Open
thien-do opened this issue Sep 25, 2021 · 3 comments

Comments

@thien-do
Copy link

Hi :D If you're ok, I'd like to have a small PR to add a small section to the README regarding the migration from the native file system.

Thing is, I used the native file system first, then as my app needs to go live, I adopt this library, and there are several things I learned that I think would be useful for others in similar situation.

For example:

  • In the native API, the main model is "handle", and you get the file content from there, async
  • In this API, the main model is the file itself, and the "handle" is an optional object
  • Stuff like persisting to local storage (indexed DB actually)
@tomayac
Copy link
Member

tomayac commented Sep 27, 2021

I like this idea. I would just call it "differences" rather than "migrating". The differences are that we need to be compatible with the legacy approach from an API input/output point of view. Please go ahead, and thanks again!

@tomayac tomayac changed the title Add tips to migrate from native file system API Describe differences to directly working with the File System Access API in README Sep 27, 2021
@tomayac
Copy link
Member

tomayac commented Apr 14, 2022

If you're ok, I'd like to have a small PR to add a small section to the README regarding the migration from the native file system.

@thien-do Friendly ping, are you still interested in this?

@thien-do
Copy link
Author

Hey @tomayac , sorry I can't do it :(

@thien-do thien-do removed their assignment Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants