microsoft / microsoft/react-native-windows
Improve Microsoft.ReactNative.dll Instance management API
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 17.3k
- Forks
- 1.2k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 33
Description
Task: Improve Microsoft.ReactNative.dll Instance management API
Summary
Currently IReactNativeHost exposes only rudimentary API to reload ReactNative instance. It does not even allow to observe the result of the asynchronous operation. We must improve the IReactNativeHost to be matching the functionality of the IReactHost that we have internally.
Motivation
- We must be able to write unit tests against the Microsoft.ReactNative.dll API. It means that we must be able to observe all work completion before each unit tests finishes.
- Implementation of ReactApplication in Microsoft.ReactNative.Uwp.dll must have ful control over the ReactNative instance life management.
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 by comparing the public IReactNativeHost API with the internal IReactHost functionality mentioned in the issue. Then inspect how ReactApplication in Microsoft.ReactNative.Uwp.dll manages the React Native instance. Done means the public API exposes lifecycle control and asynchronous completion sufficient for unit tests to observe all work before finishing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, react-native
- Domain
- api, mobile-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100