mirror of
https://github.com/status-im/react-native.git
synced 2025-01-28 02:04:55 +00:00
TODO is done
Reviewed By: AaaChiuuu Differential Revision: D4614454 fbshipit-source-id: 48d66b26371834e35c43731a22abc015fc234650
This commit is contained in:
parent
0b921ef52e
commit
611661e5fe
@ -544,7 +544,6 @@ struct RCTInstanceCallback : public InstanceCallback {
|
|||||||
|
|
||||||
std::vector<std::unique_ptr<NativeModule>> modules;
|
std::vector<std::unique_ptr<NativeModule>> modules;
|
||||||
for (RCTModuleData *moduleData in _moduleDataByID) {
|
for (RCTModuleData *moduleData in _moduleDataByID) {
|
||||||
// TODO mhorowitz #10487027: unwrap C++ modules and register them directly.
|
|
||||||
if ([moduleData.moduleClass isSubclassOfClass:[RCTCxxModule class]]) {
|
if ([moduleData.moduleClass isSubclassOfClass:[RCTCxxModule class]]) {
|
||||||
// If a module does not support automatic instantiation, and
|
// If a module does not support automatic instantiation, and
|
||||||
// wasn't provided as an extra module, it may not have an
|
// wasn't provided as an extra module, it may not have an
|
||||||
|
Loading…
x
Reference in New Issue
Block a user