Target Branch(es)
0.78
Link to commit or PR to be picked
facebook/react-native#49291
Description
The linked PR targets 0.78-stable and it mimics this other PR on main facebook/react-native#49250
The original PR has not landed in main yet, but we need it if we want to prepare a golden release candidate.
The problem we are seeing is that some legacy module were passing null values from JS to Native and the null value was used in native to make business logic decisions.
In the New Architecture, null values passed down from JS to Native are stripped out and native does not receive them.
This break some Legacy Libraries that are not migrated to the New Architecture yet.
This change fixes this problem and properly forward null values to modules working throught the interop layer.
Target Branch(es)
0.78
Link to commit or PR to be picked
facebook/react-native#49291
Description
The linked PR targets
0.78-stableand it mimics this other PR onmainfacebook/react-native#49250The original PR has not landed in
mainyet, but we need it if we want to prepare a golden release candidate.The problem we are seeing is that some legacy module were passing null values from JS to Native and the null value was used in native to make business logic decisions.
In the New Architecture, null values passed down from JS to Native are stripped out and native does not receive them.
This break some Legacy Libraries that are not migrated to the New Architecture yet.
This change fixes this problem and properly forward null values to modules working throught the interop layer.