microsoft / microsoft/react-native-windows
JS API to get/set simple ReactInstance properties via ReactContext
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 17.3k
- Forks
- 1.2k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 33
Description
There may be scenarios where you'd want to query (or set) properties of simple types (bool, number, string) from JS, or even a JSValue, to either communicate with a native module, or to inspect the state of the running app. Today this requires a custom native module to do this, however it feels like this should be built in.
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
No file or test is named in the issue. Start by locating ReactContext and the ReactInstance API, then trace how JavaScript currently reaches native modules. Done means a built-in get/set path exists for simple values and JSValue, supporting native-module communication and inspection of running-app state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, javascript, react-native
- Domain
- api, desktop
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100