microsoft / microsoft/react-native-windows
Implement Image.prefetchWithMetadata
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 17.3k
- Forks
- 1.2k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 33
Description
Added by https://github.com/facebook/react-native/commit/017bc911928472e20f37dd9512a2113a7d93c81b#diff-e6fd0c5b183586249abfad692ff206b7e6171057f2b31ceabf1a9d7fc96f82f3 which will end up in 0.64 or 0.65.
This functionality is similar to the existing method of prefetching an image documented at https://reactnative.dev/docs/image#prefetch but seemingly also adds some extra information on disk that can be queried.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the referenced React Native commit and the existing Image.prefetch documentation and implementation. Compare the Windows Image API with the added prefetchWithMetadata behavior, including how the extra disk information is queried. Done means the method is supported on React Native Windows and its behavior is covered by the relevant tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, react
- Domain
- desktop, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100