microsoft / microsoft/react-native-windows
Headless JS (backgroundtask) support
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 17.3k
- Forks
- 1.2k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 33
Description
Proposal: Headless JS (backgroundtask) support, take 2
Summary
Provide functionality and examples that allow for headless JS support in backgroundtasks
Motivation
Many of the system and lifecycle events in the UWP model land in backgroundtasks. Not having a (documented way) of having that functionality runs the danger of code duplication and/or hacks that use React Native for Windows in the wrong way to achieve it.
Open Questions
This has already been requested in https://github.com/microsoft/react-native-windows/issues/1993 but was closed, as at that time, current was already on it's way out. #3365 was pointed to as the solution for vNext, but that PR was closed in favor of a ReactNativeHost solution. As of the time of this request, it's unclear if that (ReactNativeHost) solution is now viable, available or recommended, and there is no documentation/examples to confirm it.
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 reviewing the prior requests in issues 1993 and 3365 and determine whether the ReactNativeHost solution is viable, available, or recommended for UWP backgroundtasks. Done would provide supported Headless JS functionality plus documentation and examples showing how to use it without code duplication or hacks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native
- Domain
- desktop, operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100