discussions-and-proposals
discussions-and-proposals copied to clipboard
Discussions and proposal related to the main React Native project
### Introduction Metro resolves a custom field in `package.json` called `react-native`. This is not supported by Jest's default resolver - just like e.g. `module` isn't. This means different modules are...
Hey all, I'm sharing this RFC I wrote with the support of @renchap & @kelset to solve the problem of our NPM package size. We would love to hear the...
### Introduction The React Native Jest preset currently sets up `jest-environment-node` as a test environment, see https://github.com/facebook/react-native/blob/4e70376dc722b6beb7b5b6d6c042b748a9ed14fd/jest-preset.js#L27. This environment does not properly emulate an RN environment, and leads to unnecessary...
Proposal to create: - `NumberInput` component or - adding `type="number"` to `TextInput` to only allow numbers in field
As title says, currently, there is no way to change context menu items. when you select a word in TextInput, there are only default options (cut, copy, paste ...). it...
### Introduction The master branch of Hermes adds a [NativeState API](https://github.com/facebook/hermes/blob/main/API/jsi/jsi/jsi.h#L149-L152), allowing a C++ object to be attached to JS object, but this is [not implemented for the JSC runtime](https://github.com/facebook/react-native/blob/main/ReactCommon/jsi/JSCRuntime.cpp#L916)....
I am trying to create a custom UI view on Android but i need to initial and call the `createViewInstance ()` just after that i am getting my props via...
### Introduction On web, you can get any element by its position: [document.elementFromPoint(x, y)](https://developer.mozilla.org/pt-BR/docs/Web/API/Document/elementFromPoint) Is there something similar in React Native? Can it be done with a native bridge (Java/Objective...
### Introduction It would be useful to have a way to closing opened ActionSheetIOS by event with backdrop space. Now, as far as I know, it's impossible. ### Details I...
### Introduction React native has built a pretty decent ecosystem around tooling and profling an app in a debug / dev mode. We often end up using dev tools from...