Kevin Gozali fkgozali React Native at @facebook

fkgozali/demo_app 1

Ruby on Rails Tutorial demo application

fkgozali/first_app 1

The First app for Ruby on Rails Tutorial

fkgozali/sample_app 1

Ruby on Rails Tutorial sample application

fkgozali/css-layout 0

Reimplementation of CSS layout using pure JavaScript

fkgozali/react 0

A declarative, efficient, and flexible JavaScript library for building user interfaces.

fkgozali/react-native 0

A framework for building native apps with React.

pull request commentfacebook/react-native

Update Gradle Wrapper to 6.6

we upgraded to 6.5 not too long ago, any specific benefit for this upgrade to 6.6?


comment created time in 15 hours


Pull request review commentfacebook/react-native

improve "not a registered callable module" error message

 class MessageQueue {     const moduleMethods = this.getCallableModule(module);     invariant(       !!moduleMethods,-      'Module %s is not a registered callable module (calling %s)',-      module,-      method,+      `Module ${module} is not a registered callable module (calling ${method}). This can happen when the application entry file path is incorrect.+      On Android, verify 'getJSMainModuleName()' in '' and 'project.ext.react.entryFile' in 'android/app/build.gradle'.+      On iOS, verify '- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge' in 'AppDelegate.m' and 'ENTRY_FILE' env. variable passed to '' (if any) in 'Build Phases' -> 'Bundle React Native code and images'.

The error message for Android/iOS here assumes specific usage of a build system, which is not always the case (e.g. some uses BUCK to build). I'd just remove them, or provide url to a section in the with platform specific instructions.

This can happen when the application entry file path is incorrect.

Note that this is not the only reasons this error happens, some times a bad JS bundle, or an early initialization error when loading React Native will cause this error.


comment created time in a month

issue commentreact-native-community/discussions-and-proposals

TurboModules (NativeModules Re-architecture)


Why isn't caching constants in JS done more generically (e.g. within the TurboModuleRegistry class), instead of re-implementing the "spec" like done in the diffs? It seems to me that we are introducing the whole boilerplate from the spec just to cache the constants... if this is a good practice, why not do it for everyone?

  1. This is NOT a good practice. TurboModule no longer special-case getConstants() unlike the old NativeModules. Which is why we'll be moving away from getConstants() specifics, like general caching in the old system. This is for simplicity and better overall performance.
  2. However, we're trying to isolate some regression that may be caused by the modules affected in the commit you linked. If we can pinpoint the problematic module, it would be easier to investigate the infra fix for it, or tweak the module impl to fix the issue. Doing it for all modules will make it impossible to isolate the issue.
  3. In the future, @RSNara has some plan to allow per-method memoization with simple annotation in the spec, but not for TurboModule v1.
  4. Finally, stay tuned for proper documentation explaining all these details (when it's closer to release time later this year).

comment created time in 2 months

issue commentreact-native-community/releases

v0.63.0 Discussion

Might want to pick, that should fix long-standing iOS crashes:


comment created time in 3 months

issue closedfacebook/react-native

[RCTWeakProxy displayDidRefresh:]: unrecognized selector sent to instance 0x28048f800

small probability of the following error:

-[RCTWeakProxy displayDidRefresh:]: unrecognized selector sent to instance 0x28048f800 NSInvalidArgumentException

React Native version:0.61

closed time in 3 months


issue commentfacebook/react-native

[RCTWeakProxy displayDidRefresh:]: unrecognized selector sent to instance 0x28048f800

We found this commit that seems to address the issue: e5a6655 Are any estimates on it?

Yes, this should be fixed in master. Closing


comment created time in 3 months