隐小风
隐小风
I found that the js-to-native bridge is implemented by calling `BatchedBridge.callFunctionReturnFlushedQueue` from native continuously, thus "flush" the ModuleID,MethodId,CallbackID and arguments to native. Does this mean eating up a lot of...
Now TabBar component support base64-encoded data-uris for the icon, but it has a image scale problem. If I use 3X image, it will become too large for the tab bar....
I'm attempting to call a javascript method from a native module and get some return value or callback , the only thing I have is the RCTBridge property, and the...
I'm using react native partially in my application. So `RCTBridge` is not initialized until it is used. I find that method `constantsToExport` of `RCTDatePickerManager` takes a lot of time when...
In my application, when I push the RCTRootView and pop it at once, the application will easily get stuck with no touch response. I paused program execution and found that...
Now react native's js is not backward compatible with native, for example, apps with 0.4.X's native code can not run js code packaged with 0.6.0's and vice versa. There is...
For some reason I need to request different URLs with different react-native versions, is there a convenient way to get the version in my Objective-C code?
I write a Text component whose style is: ``` text: { height: 60, fontSize: 12, width:50, padding:5, color: 'rgb(238, 238, 238)', fontFamily: 'Helvetica Neue', lineHeight: 50, backgroundColor: 'rgb(190, 173, 146)'...
In method `buildTextStorageForWidth`, we use `_cachedTextStorageWidth` and `_cachedTextStorage` to store NSTextStorage. ``` if (_cachedTextStorage && width == _cachedTextStorageWidth) { return _cachedTextStorage; } ``` While the text's property is updated, we...
A list can contain multiple headers,next header will push previous header. If a header is defined, the default behavior is sticky and can not be changed. If a no-sticky header...