React Native Integration
- Dominant language
- JavaScript
- Stars
- 797
- Forks
- 49
- PR merge metrics
- No merged PRs in 30d
Description
This is a:
- [x] **Bug Report**
- [ ] Feature Request
- [ ] Question
- [ ] Other
Which concerns:
- [x] **flow-runtime**
- [ ] babel-plugin-flow-runtime
- [ ] flow-runtime-validators
- [ ] flow-runtime-mobx
- [ ] flow-config-parser
- [ ] The documentation website
---
### What is the current behaviour?
flow-runtime: Failed to reveal unknown type in Temporal Dead Zone
Failed to print error: Requiring module "NativeModules", which threw an exception: RuntimeTypeError: config[3] must be an Array
Expected: Array
Actual Value: undefined
Actual Type: void
config[4] must be an Array
Expected: Array
Actual Value: undefined
Actual Type: void
---
### What is the expected behaviour?
Flow runtime should be integrated
---
### Which package versions are you using?
"react-native": "0.51.0",
"flow-runtime": "0.17.0",
"babel-plugin-flow-runtime": "0.17.0"
.babelrc config
```
{
"presets": ["react-native", "flow"],
"env": {
"development": {
"plugins": [
["flow-react-proptypes", { "ignoreNodeModules": true }]
]
},
"production": {
"plugins": ["ignite-ignore-reactotron"]
}
},
"plugins": [
["flow-runtime", {
"assert": true,
"annotate": true
}],
"transform-decorators-legacy",
"transform-class-properties",
[
"module-resolver",
{
"root": ["./app"],
"extensions": [".js", ".ios.js", ".android.js"]
}
]
]
}
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the reported React Native 0.51.0, flow-runtime 0.17.0, and babel-plugin-flow-runtime 0.17.0 versions, then reproduce the failure using the provided .babelrc configuration. Trace the NativeModules error and Temporal Dead Zone handling; done means Flow runtime integrates without the reported validation and error-printing failures.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100