mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Add caching of spannable text objects
Summary: This diff adds support to cache the Spannable objects that are created during measure() and updateLocalData() for text Reviewed By: shergin Differential Revision: D13188599 fbshipit-source-id: 6547d8ce2bb8b1dfb3c91e64facff3ba0cd97472
This commit is contained in:
1 parent
3be2816aec
commit
f341795824
3 files changed
+54
-33
No files matched your search
@@ -215,7 +215,6 @@ public abstract class ViewManager<T extends View, C extends ReactShadowNode>
|
||||
|
||||
public long measure(
|
||||
ReactContext context,
|
||||
T view,
|
||||
ReadableNativeMap localData,
|
||||
ReadableNativeMap props,
|
||||
float width,
|
||||
|
||||
Reference in new issue
Block a user