Libraries/Events/EventPolyfill.js (11 lines): - line 40: +target: EventTarget; // TODO: nullable - line 42: +srcElement: Element; // TODO: nullable - line 46: +currentTarget: EventTarget; // TODO: nullable - line 150: currentTarget: EventTarget; // TODO: nullable - line 151: target: EventTarget; // TODO: nullable - line 153: srcElement: Element; // TODO: nullable - line 169: // TODO: somehow guarantee that only "private" instantiations of Event - line 173: // TODO: in the future we'll want to make sure this has the same - line 195: throw new Error('TODO: not yet implemented'); - line 209: 'TODO: not yet implemented. This method is also deprecated.', - line 214: throw new Error('TODO: not yet implemented'); Libraries/WebSocket/RCTSRWebSocket.m (10 lines): - line 650: // TODO: maybe not copy this for performance - line 666: // TODO: maybe not copy this for performance - line 744: // TODO: handle error - line 828: // TODO: Handle invalid opcode - line 865: // TODO: add assert that opcode is not a control; - line 878: // TODO: add assert that opcode is not a control; - line 1082: // TODO: optimize so this can continue from where we last searched - line 1174: // TODO: Optimize this. Don't really have to copy all the data each time - line 1287: // TODO: could probably optimize this with SIMD - line 1367: // TODO: specify error better! ReactAndroid/src/main/java/com/facebook/react/fabric/FabricUIManager.java (8 lines): - line 135: // TODO T83943316: Delete this variable once StaticViewConfigs are enabled by default - line 162: // TODO T83943316: Deprecate and delete this constructor once StaticViewConfigs are enabled by - line 199: // TODO (T47819352): Rename this to startSurface for consistency with xplat/iOS - line 438: // TODO T83943316: Remove this IF once StaticViewConfigs are enabled by default - line 564: // TODO: replace ReadableNativeMap -> ReadableMapBuffer - line 649: // TODO T42943890: Fix animations in Fabric and remove this try/catch? - line 826: // TODO T83615646: make this a hard-crash in the future. - line 1094: // TODO T31905686: Remove this method and add support for multi-threading performance counters ReactCommon/jsi/JSCRuntime.cpp (6 lines): - line 190: // TODO: revisit this implementation - line 658: // TODO: Support for symbols through the native API in JSC is very limited. - line 998: // TODO: revisit this implementation - line 1008: // TODO: revisit this implementation - line 1398: // TODO: Uncomment this when all supported JSC versions have this symbol - line 1451: // TODO: revisit this implementation Libraries/Interaction/PanResponder.js (5 lines): - line 200: * callsites return void and this TODO notice is found in it: - line 201: * TODO: t7467124 investigate if this can be removed - line 343: // TODO: This must be filtered intelligently. - line 432: // TODO: Actually, we should reinitialize the state any time - line 473: // TODO: t7467124 investigate if this can be removed packages/polyfills/error-guard.js (5 lines): - line 62: /* $FlowFixMe[incompatible-call] : TODO T48204745 (1) apply(context, - line 64: /* $FlowFixMe[incompatible-type] : TODO T48204745 (1) apply(context, - line 80: /* $FlowFixMe[incompatible-call] : TODO T48204745 (1) apply(context, - line 82: /* $FlowFixMe[incompatible-type] : TODO T48204745 (1) apply(context, - line 98: // TODO: (moti) T48204753 Make sure this warning is never hit and remove it - types ReactCommon/react/renderer/textlayoutmanager/platform/android/react/renderer/textlayoutmanager/TextLayoutManager.cpp (4 lines): - line 206: -1, // TODO: we should pass rootTag in - line 221: // TODO: currently we do not support attachments for cached IDs - should we? - line 343: -1, // TODO: we should pass rootTag in - line 409: -1, // TODO: we should pass rootTag in React/Base/RCTUtils.m (4 lines): - line 344: // FIXME: this caches whatever the bounds were when it was first called, and then - line 484: // TODO: Can we just replace RCTMakeError with this function instead? - line 551: // TODO: replace with a more robust solution - line 924: // TODO: kCGColorSpaceModelXYZ should be added sometime after Xcode 10 release. Libraries/Lists/VirtualizedList.js (4 lines): - line 1093: ), // TODO: Android support - line 1143: // TODO (T46547044): use React.warn once 16.9 is sync'd: https://github.com/facebook/react/pull/15170 - line 1335: // TODO (T35574538): findNodeHandle sometimes crashes with "Unable to find - line 1955: // TODO: consider factoring separator stuff out of VirtualizedList into FlatList since it's not ReactCommon/react/renderer/animations/LayoutAnimationKeyFrameManager.cpp (4 lines): - line 272: // TODO: to prevent this step we could tag Remove/Insert mutations as - line 1199: // TODO: modularize this segment, it is repeated 2x in KeyFrameManager - line 1298: // TODO: turn all of this into a lambda and share code? - line 1565: // TODO: don't animate virtual views in the first place? ReactAndroid/src/main/java/com/facebook/react/views/text/TextAttributeProps.java (4 lines): - line 28: // TODO: T63643819 refactor naming of TextAttributeProps to make explicit that this represents - line 144: // TODO T83483191: Review constants that are not being set! - line 211: // TODO T83483191: Review why the following props are not serialized: - line 401: // TODO: Don't apply background color to anchor TextView since it will be applied on the View ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java (4 lines): - line 346: // TODO T62192299: remove when investigation is complete - line 350: // TODO T62192299: remove when investigation is complete - line 716: /** Temporary: due to T67035147, log sources of destroy calls. TODO T67035147: delete */ - line 1138: // TODO T62192299: remove this after investigation ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/SurfaceMountingManager.java (4 lines): - line 406: // TODO: throw exception here? - line 454: // TODO T74425739: previously, we did not do this check and `removeViewAt` would be executed - line 755: // TODO: T31905686 Check if the parent of the view has to layout the view, or the child has - line 861: // TODO T62717437 - Use a flag to determine that these event emitters belong to virtual nodes ReactAndroid/src/main/java/com/facebook/react/animated/NativeAnimatedModule.java (4 lines): - line 193: private boolean mBatchingControlledByJS = false; // TODO T71377544: delete - line 194: private volatile long mCurrentFrameNumber; // TODO T71377544: delete - line 221: // TODO: Would be great to avoid adding this callback in case there are no active - line 285: // TODO T71377544: delete this when the JS method is confirmed safe ReactCommon/react/renderer/templateprocessor/UITemplateProcessor.cpp (4 lines): - line 34: // TODO: use RBCContext instead of all the separate arguments. - line 45: // TODO: change to integer codes and a switch statement - line 73: // TODO: provide original command or command line? - line 78: // TODO: provide original command or command line? ReactCommon/react/renderer/components/textinput/androidtextinput/react/renderer/components/androidtextinput/AndroidTextInputComponentDescriptor.h (4 lines): - line 43: // TODO: figure out RTL/start/end/left/right stuff here - line 107: // TODO: T62959168 account for RTL and paddingLeft when setting default - line 144: // TODO: support RTL - line 178: // TODO T68526882: Unify with Binding::UIManagerJavaDescriptor React/Views/ScrollView/RCTScrollView.m (3 lines): - line 82: // TODO: If mid bounce, animate the scroll view to a non-bounced position - line 641: * TODO: this logic looks wrong, and it may be because it is. Currently, if _scrollEventThrottle - line 937: // TODO: detect and handle/ignore re-ordering ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputManager.java (3 lines): - line 280: // TODO: delete, this is no longer used from JS - line 336: // TODO T58784068: delete this block of code, these are always unset in Fabric - line 1037: // TODO: t7936714 merge these events ReactAndroid/src/main/java/com/facebook/react/animated/NativeAnimatedNodesManager.java (3 lines): - line 549: // TODO T64216139 Remove dependency of UIManagerModule when the Constants are not in Native - line 771: // TODO T71377544: investigate these SoftExceptions and see if we can remove entirely - line 775: // TODO T71377544: investigate these SoftExceptions and see if we can remove entirely ReactCommon/react/renderer/components/textinput/androidtextinput/react/renderer/components/androidtextinput/AndroidTextInputProps.cpp (3 lines): - line 217: // TODO T63008435: can these, and this feature, be removed entirely? - line 261: // TODO T53300085: support this in codegen; this was hand-written - line 330: // TODO: codegen these Libraries/AppState/AppState.js (3 lines): - line 62: // TODO: this is a terrible solution - in order to ensure `currentState` - line 71: // TODO: see above - this request just populates the value of `currentState` - line 85: // TODO: now that AppState is a subclass of NativeEventEmitter, we could ReactAndroid/src/main/java/com/facebook/react/views/text/TextLayoutManager.java (3 lines): - line 48: // TODO T67606397: Refactor configuration of fabric logs - line 236: // TODO T31905686: add support for inline Images - line 572: // TODO T31905686: This class should be private ReactCommon/react/nativemodule/core/platform/android/ReactCommon/JavaTurboModule.cpp (3 lines): - line 95: // TODO (T43155926) valueFromDynamic already returns a Value - line 247: // TODO (axe) Reuse existing implementation as needed - the exist in - line 420: // TODO (axe) Investigate the best way to convert Java Map to Value ReactCommon/react/renderer/mapbuffer/MapBuffer.cpp (3 lines): - line 23: // TODO T83483191: Extend MapBuffer C++ implementation to support basic random - line 84: // TODO T83483191:Add checks to verify that offsets are under the boundaries - line 97: // TODO T83483191: Add checks to verify that offsets are under the boundaries React/CxxBridge/RCTCxxBridge.mm (3 lines): - line 774: // TODO #13258411: can we defer this until config generation? - line 841: // TODO: don't ask for extra module for when TurboModule is enabled. - line 1566: // TODO #12592471: batchDidComplete is only used by RCTUIManager, Libraries/Components/TextInput/AndroidTextInputNativeComponent.js (3 lines): - line 356: * TODO: differentiate between onChange and onChangeText - line 365: * TODO: differentiate between onChange and onChangeText - line 543: // TODO: figure out what to do with this style prop for codegen/Fabric purposes Libraries/Animated/useAnimatedProps.js (3 lines): - line 42: // TODO: Only invalidate `node` if animated props or `style` change. In the - line 52: // TODO: This "effect" does three things: - line 166: // TODO: Stop restoring default values (unless `reset` is called). packages/react-native-gradle-plugin/src/main/java/com/facebook/react/codegen/generator/resolver/ObjectResolvedType.java (3 lines): - line 32: // TODO: Optional Object property is not necessarily nullable. - line 47: // TODO: It should return its own class type. - line 64: // TODO: Object type should produce is own class to represent its shape. ReactAndroid/src/main/java/com/facebook/react/uimanager/UIManagerHelper.java (3 lines): - line 74: // TODO T60461551: add tests to verify emission of events when the ReactContext is being turn - line 91: // TODO T67518514 Clean this up once we migrate everything over to bridgeless mode - line 121: // TODO T67518514 Clean this up once we migrate everything over to bridgeless mode ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactEditText.java (3 lines): - line 192: // TODO: t6408636 verify if we should schedule a layout after a View does a requestLayout() - line 688: null, // TODO: do we need to support FontFeatureSettings / fontVariant? - line 742: // TODO T58784068: delete this method Libraries/ReactNative/getNativeComponentAttributes.js (3 lines): - line 34: // TODO: This seems like a whole lot of runtime initialization for every - line 86: // TODO: Move style properties into a `style` prop and disallow them as - line 122: // TODO: Figure out how to avoid all this runtime initialization cost. React/Base/RCTTouchHandler.m (3 lines): - line 25: // TODO: this class behaves a lot like a module, and could be implemented as a - line 164: // TODO: force for a 'normal' touch is usually 1.0; - line 205: // TODO: would it be safer to do this in the bridge or executor, rather than trusting caller? ReactCommon/hermes/inspector/chrome/Connection.cpp (3 lines): - line 318: // TODO: hermes hasn't implemented ProgramState::getBreakpoint yet - line 576: // TODO: Chunk this if there are too many fragments to update. - line 931: // TODO: this may throw if ca.value is a CBOR (see RFC 8949), but the React/Views/RCTView.m (3 lines): - line 506: // TODO (#5906496): for scrollviews (the primary use-case) we could - line 580: // TODO (#5906496): this a nasty performance drain, but necessary - line 760: // TODO: detect up-front if re-rendering is necessary ReactCommon/cxxreact/ModuleRegistry.cpp (2 lines): - line 22: // TODO mhorowitz #10487027: This is super ugly. We should just - line 168: // TODO: #10487027 compare tags instead of doing string comparison? ReactAndroid/src/main/java/com/facebook/react/views/view/ReactMapBufferPropSetter.kt (2 lines): - line 134: // TODO: color for some reason can be object in Java but not in C++ - line 195: // TODO: color for some reason can be object in Java but not in C++ Libraries/Utilities/codegenNativeComponent.js (2 lines): - line 11: // TODO: move this file to shims/ReactNative (requires React update and sync) - line 17: // TODO: import from CodegenSchema once workspaces are enabled Libraries/NativeAnimation/RCTNativeAnimatedTurboModule.mm (2 lines): - line 89: // TODO T71377585 - line 94: // TODO T71377585 ReactAndroid/src/main/java/com/facebook/react/devsupport/DevSupportManagerBase.java (2 lines): - line 239: // TODO #11638796: convert the stack into something useful - line 402: // TODO: Remove in a few weeks. scripts/react_native_pods.rb (2 lines): - line 452: # TODO: Ideally, we generate the input_files list from generate-artifacts.js and read the result here. - line 560: # TODO: Once the new codegen approach is ready for use, we should output a warning here to let folks know to migrate. ReactAndroid/src/main/java/com/facebook/react/uimanager/UIImplementation.java (2 lines): - line 498: * receipt. TODO: The method name is incorrect and will be renamed, #6033872 - line 727: // TODO: this should only happen when using Fabric renderer. This is a temporary approach ReactAndroid/src/main/java/com/facebook/react/uimanager/UIManagerModule.java (2 lines): - line 822: // TODO: T65793557 Refactor sendAccessibilityEvent to use ViewCommands - line 882: *

TODO: T63569137 Delete the method UIManagerModule.resolveRootTagFromReactTag Libraries/Utilities/NativeAppearance.js (2 lines): - line 17: // TODO: (hramos) T52919652 Use ?ColorSchemeName once codegen supports union - line 24: // TODO: (hramos) T52919652 Use ?ColorSchemeName once codegen supports union Libraries/Components/ScrollView/ScrollViewStickyHeader.js (2 lines): - line 60: _ref: any; // TODO T53738161: flow type this, and the whole file - line 292: // TODO T68319535: remove this if NativeAnimated is rewritten for Fabric ReactCommon/react/renderer/mounting/Differentiator.cpp (2 lines): - line 475: // TODO: is this necessary anymore? - line 829: // TODO: compare ShadowNode pointer instead of ShadowView here? ReactCommon/react/renderer/attributedstring/conversions.h (2 lines): - line 435: // TODO: remove "line-through" after deprecation - line 440: // TODO: remove "underline line-through" after "line-through" deprecation React/Base/RCTBridge.m (2 lines): - line 58: * TODO: (T115656171) Refactor RCTRegisterModule out of Bridge.m since it doesn't use the Bridge. - line 269: // causing some issues. TODO: revisit this post-Fabric/TurboModule. ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextViewManager.java (2 lines): - line 139: false, // TODO add this into local Data - line 161: false, // TODO add this into local Data Libraries/Image/RCTImageURLLoaderWithAttribution.h (2 lines): - line 12: // TODO (T61325135): Remove C++ checks - line 45: // TODO (T61325135): Remove C++ checks packages/react-native-gradle-plugin/src/main/java/com/facebook/react/codegen/generator/SchemaJsonParser.java (2 lines): - line 88: // TODO (T71955395): NativeModule spec type name does not - line 211: // TODO (T71847026): Some array types are missing elementType annotation. ReactAndroid/src/main/java/com/facebook/react/fabric/jni/viewPropConversions.h (2 lines): - line 260: * TODO: Currently unsupported: nextFocusForward/Left/Up/Right/Down - line 487: // TODO: seems like transform covers rotation/translate/scale/skew? ReactAndroid/src/main/java/com/facebook/react/fabric/FabricComponents.java (2 lines): - line 17: *

TODO T97384889: remove this class when the component names are unified between JS - Android - - line 25: // TODO T97384889: unify component names between JS - Android - iOS - C++ ReactCommon/react/renderer/attributedstring/TextAttributes.h (2 lines): - line 67: // TODO: Use `Point` type instead of `Size` for `textShadowOffset` attribute. - line 75: // TODO T59221129: document where this value comes from and how it is set. ReactCommon/react/renderer/scheduler/Scheduler.cpp (2 lines): - line 213: // TODO T97216348: avoid transforming jsi into folly::dynamic - line 223: // TODO T97216348: remove folly::dynamic from InspectorData struct ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactShadowNodeImpl.java (2 lines): - line 188: // TODO: There are some edge cases that currently aren't supported. For example, if the size - line 375: // TODO: T26400974 ReactShadowNode should not depend on nativeViewHierarchyOptimizer ReactCommon/jsiexecutor/jsireact/JSIExecutor.cpp (2 lines): - line 505: * TODO: In JavaNativeModule, folly::none is returned when the synchronous - line 510: * TODO: Investigate CxxModule infra to see if folly::none is used for Libraries/StyleSheet/StyleSheet.js (2 lines): - line 252: absoluteFill: (absoluteFill: any), // TODO: This should be updated after we fix downstream Flow sites. - line 361: // TODO: This should return S as the return type. But first, ReactCommon/hermes/inspector/chrome/MessageConverters.cpp (2 lines): - line 88: // TODO: Get the parent closure's name - line 234: // FIXME: JSI currently does not handle cycles and functions well here Libraries/Components/ScrollView/ScrollView.js (2 lines): - line 1301: FrameRateLogger.beginScroll(); // TODO: track all scrolls after implementing onScrollEndAnimation - line 1653: nativeID={'StickyHeader-' + key} /* TODO: T68258846. */ ReactAndroid/src/main/java/com/facebook/react/views/text/TextLayoutManagerMapBuffer.java (2 lines): - line 240: // TODO T31905686: add support for inline Images - line 585: // TODO T31905686: This class should be private Libraries/Text/Text/RCTTextView.m (2 lines): - line 83: // FIXME: Optimize this. - line 229: // TODO: Adopt showMenuFromRect (necessary for UIKitForMac) ReactCommon/cxxreact/CxxNativeModule.cpp (2 lines): - line 45: * TODO: Callback types should be made equal (preferably - line 243: // TODO 17216751: providers should never return null modules ReactCommon/react/renderer/componentregistry/componentNameByReactViewName.cpp (2 lines): - line 17: // TODO T97384889: unify component names between JS - Android - iOS - C++ - line 31: // TODO T63839307: remove this condition after deleting TextInlineImage from ReactCommon/hermes/inspector/Inspector.cpp (2 lines): - line 87: // TODO: read this out of an env variable or config - line 114: // TODO (t26491391): make tickleJs a real Hermes runtime API ReactAndroid/src/main/java/com/facebook/react/fabric/jni/FabricMountingManager.cpp (2 lines): - line 212: // TODO: this method will be removed when binding for components are code-gen - line 561: // TODO: multi-create, multi-insert, etc packages/react-native-codegen/DEFS.bzl (2 lines): - line 340: # TODO: support different package name internally. - line 449: # TODO T96844980: Fix and enable generated_tests-codegen_testsAndroid tools/build_defs/oss/rn_defs.bzl (2 lines): - line 81: # TODO: use this to define the compiler flag REACT_NATIVE_DEBUG in debug/dev mode builds only. - line 116: # TODO: fbjni currently DOES NOT WORK with -fno-exceptions, which breaks MOST RN Android modules ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextView.java (2 lines): - line 106: // TODO T62882314: Delete this method when Fabric is fully released in OSS - line 303: // TODO T56559197: remove this condition when we migrate 100% to Fabric ReactCommon/yoga/yoga/YGNode.cpp (2 lines): - line 188: // TODO: t18095186 Move nodeType to opt-in function and mark appropriate - line 197: // TODO: t18095186 Move nodeType to opt-in function and mark appropriate React/Views/ScrollView/RCTScrollView.h (1 line): - line 32: * The underlying scrollView (TODO: can we remove this?) React/Modules/RCTUIManager.m (1 line): - line 724: * TODO: use [NSArray getObjects:buffer] to reuse same fast buffer each time. ReactAndroid/src/main/java/com/facebook/react/uimanager/JSPointerDispatcher.java (1 line): - line 232: // FIXME: this may generate incorrect events when view collapsing changes the hierarchy React/Fabric/Mounting/ComponentViews/ActivityIndicator/RCTActivityIndicatorViewComponentView.mm (1 line): - line 82: // TODO: This prop should be deprecated. ReactAndroid/src/main/jni/react/jni/CatalystInstanceImpl.cpp (1 line): - line 194: // TODO mhorowitz: how to assert here? ReactAndroid/src/main/java/com/facebook/react/bridge/reactnative.pro (1 line): - line 27: ## TODO mhorowitz: add @DoNotStrip to the interface directly. React/Fabric/Mounting/ComponentViews/Slider/RCTSliderComponentView.mm (1 line): - line 72: // TODO: T40099998 implement recycling properly for Fabric Slider component ReactAndroid/src/main/java/com/facebook/react/views/modal/ReactModalHostView.java (1 line): - line 447: // TODO: T44725185 remove after full migration to Fabric Libraries/Core/Timers/JSTimers.js (1 line): - line 118: // TODO: Optimisation: allow running for longer than one frame if Libraries/Text/TextInput/RCTInputAccessoryViewContent.m (1 line): - line 26: // TODO: Support rotation, anchor to left and right without breaking frame x coordinate (T27974328). React/Profiler/RCTProfile.m (1 line): - line 447: // TODO: enable assert JS thread from any file (and assert here) ReactAndroid/src/main/jni/first-party/yogajni/jni/YGJNIVanilla.cpp (1 line): - line 98: // TODO cout << obj.get()->toString() << endl; Libraries/BugReporting/getReactData.js (1 line): - line 102: // TODO: React ART currently falls in this bucket, but this doesn't packages/assets/path-support.js (1 line): - line 27: * FIXME: using number to represent discrete scale numbers is fragile in essence because of React/Fabric/Mounting/ComponentViews/Text/RCTParagraphComponentView.mm (1 line): - line 235: // TODO: Adopt showMenuFromRect (necessary for UIKitForMac) React/CoreModules/RCTExceptionsManager.mm (1 line): - line 115: // TODO: (moti) T53588496 Replace `(NSArray *)stack` in ReactCommon/react/renderer/componentregistry/ComponentDescriptorRegistry.cpp (1 line): - line 76: * TODO: T54849676 ReactCommon/cxxreact/CxxModule.h (1 line): - line 43: * (TODO mhorowitz #7128529: this exception behavior is not yet React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputUtils.mm (1 line): - line 17: // TODO: Implement it properly. ReactCommon/react/renderer/components/view/conversions.h (1 line): - line 447: // TODO: The following checks have to be removed after codegen is shipped. ReactAndroid/src/main/java/com/facebook/react/uimanager/ThemedReactContext.java (1 line): - line 24: * events for this wrapper instances. TODO: T7538544 Rename ThemedReactContext to be in alignment React/CoreModules/RCTDevSettings.mm (1 line): - line 444: // TODO (6929129): we can remove this special case test once we have better Libraries/Types/CodegenTypes.js (1 line): - line 37: // TODO: (rickhanlonii) T44881457 If a default is provided, it should always be optional ReactAndroid/src/main/java/com/facebook/react/CompositeReactPackage.java (1 line): - line 57: *

TODO: T45627020 Libraries/NativeAnimation/RCTNativeAnimatedTurboModule.h (1 line): - line 16: // TODO T69437152 @petetheheat - Delete this fork when Fabric ships to 100%. ReactCommon/hermes/inspector/detail/SerialExecutor.h (1 line): - line 33: /// TODO: create a factory that uses SerialAsyncExecutorFactory if we're React/CxxModule/RCTCxxMethod.mm (1 line): - line 121: // TODO: we should convert this to JSValue directly React/Modules/RCTSurfacePresenterStub.h (1 line): - line 16: // TODO: Eventually this should go away and files should just include RCTSurfacePresenter.h, but React/Base/Surface/SurfaceHostingView/RCTSurfaceHostingProxyRootView.mm (1 line): - line 210: // TODO (T93859532): Investigate implementation for this. Libraries/Components/Slider/Slider.js (1 line): - line 247: // TODO: Reconcile these across the two platforms. packages/react-native-codegen/buck_tests/emptyFile.cpp (1 line): - line 10: // TODO: Import every prop and event to asset they're generated ReactCommon/cxxreact/SampleCxxModule.cpp (1 line): - line 53: // TODO mhorowitz #7128529: There's no way to automatically test this Libraries/Inspector/InspectorOverlay.js (1 line): - line 59: nativeID="inspectorOverlay" /* TODO: T68258846. */ Libraries/Network/RCTNetworking.android.js (1 line): - line 40: // FIXME: use typed events Libraries/ReactNative/FabricUIManager.js (1 line): - line 21: // TODO: type these properly. ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputShadowNode.java (1 line): - line 84: // TODO #7120264: Cache this stuff better. Libraries/Utilities/Appearance.js (1 line): - line 74: // TODO: (hramos) T52919652 Use ?ColorSchemeName once codegen supports union ReactCommon/react/renderer/components/slider/SliderShadowNode.cpp (1 line): - line 55: // TODO: check if multiple requests are cached or if it's a net loss Libraries/Renderer/shims/ReactNativeTypes.js (1 line): - line 118: // TODO (bvaughn) Decide which additional types to expose here? ReactCommon/hermes/inspector/chrome/MessageConverters.h (1 line): - line 38: // TODO: When CDTP sends a column number of 0, we send Hermes a column Libraries/ReactNative/PaperUIManager.js (1 line): - line 110: // TODO (T45220498): Remove this. ReactAndroid/src/main/java/com/facebook/react/views/image/ReactImageView.java (1 line): - line 175: // TODO: Somehow get image size and convert `loaded` and `total` to image bytes. ReactCommon/react/renderer/components/textinput/androidtextinput/react/renderer/components/androidtextinput/AndroidTextInputShadowNode.cpp (1 line): - line 68: // TODO T67606511: We will redefine the measurement of empty strings as part React/CxxBridge/NSDataBigString.mm (1 line): - line 23: // TODO: bundles from the packager should always include a NULL byte ReactCommon/jsi/jsi/jsi.h (1 line): - line 459: /// TODO T40778724: this is a limited implementation sufficient for scripts/run-ci-e2e-tests.js (1 line): - line 205: // TODO: Get target OS and simulator from .tests.env ReactAndroid/src/main/java/com/facebook/react/views/text/frescosupport/FrescoBasedReactTextInlineImageShadowNode.java (1 line): - line 115: // TODO: t9053573 is tracking that this code should be shared Libraries/Network/RCTNetworking.mm (1 line): - line 695: // TODO: buildRequest returns a cancellation block, but there's currently ReactAndroid/src/main/java/com/facebook/react/bridge/bridge.pro (1 line): - line 7: ## TODO mhorowitz: add @DoNotStrip to the interface directly. ReactAndroid/src/main/java/com/facebook/react/turbomodule/core/jni/ReactCommon/OnLoad.cpp (1 line): - line 24: // TODO: dvacca ramanpreet unify this with the way Libraries/NativeAnimation/RCTNativeAnimatedNodesManager.m (1 line): - line 267: // TODO (T111179606): Support platform colors for color animations ReactAndroid/src/main/java/com/facebook/hermes/unicode/AndroidUnicodeUtils.java (1 line): - line 16: // TODO: use com.facebook.common.locale.Locales.getApplicationLocale() as the current locale, ReactAndroid/src/main/java/com/facebook/react/fabric/jni/CoreComponentsRegistry.cpp (1 line): - line 85: // TODO T69453179: Codegen this file Libraries/Text/Text.js (1 line): - line 146: // TODO: Move this processing to the view configuration. packages/react-native-gradle-plugin/src/main/java/com/facebook/react/codegen/generator/resolver/FunctionResolvedType.java (1 line): - line 112: // TODO: Handle nullable falsy return. Libraries/LogBox/Data/parseLogBoxLog.js (1 line): - line 38: // TODO: When React switched to using call stack frames, ReactCommon/react/renderer/components/legacyviewmanagerinterop/RCTLegacyViewManagerInteropCoordinator.mm (1 line): - line 131: // TODO T86826778 - Figure out which queue this should be dispatched to. React/CoreModules/RCTDevSplitBundleLoader.mm (1 line): - line 58: // TODO: Setup loading bar. ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewManager.java (1 line): - line 186: *

TODO T7247021: Replace updateExtraData with generic update props mechanism after D2086999 ReactCommon/react/renderer/core/EventTarget.cpp (1 line): - line 44: // TODO: Replace with mustfix once mustfix is ready in React Native. Libraries/ReactNative/RootTag.js (1 line): - line 13: // TODO: Make this into an opaque type. ReactAndroid/src/main/java/com/facebook/react/bridge/JSInstance.java (1 line): - line 16: // TODO if this interface survives refactoring, think about adding packages/eslint-plugin-specs/with-babel-register/index.js (1 line): - line 62: * TODO: Do source maps break when we use a require hook packages/eslint-config-react-native-community/index.js (1 line): - line 196: 'no-warning-comments': 0, // disallow usage of configurable warning terms in comments": 1, // e.g. TODO or FIXME (off by default) Libraries/Settings/RCTSettingsManager.mm (1 line): - line 83: * TODO: would it be useful to have a callback for when this has completed? packages/react-native-gradle-plugin/src/main/java/com/facebook/react/codegen/generator/model/FunctionType.java (1 line): - line 22: // TODO (T71926678): Revisit if optional should be supported. packages/react-native-gradle-plugin/src/main/java/com/facebook/react/codegen/generator/resolver/NativeModuleResolvedType.java (1 line): - line 49: // TODO: Optional Object property is not necessarily nullable. ReactCommon/react/renderer/componentregistry/ComponentDescriptorProviderRegistry.cpp (1 line): - line 18: // TODO: T57583139 ReactCommon/react/renderer/components/textinput/iostextinput/TextInputShadowNode.cpp (1 line): - line 44: // TODO T67606511: We will redefine the measurement of empty strings as part ReactAndroid/src/main/java/com/facebook/react/fabric/jni/Binding.cpp (1 line): - line 415: // TODO: T31905686 Create synchronous Event Beat React/CoreModules/RCTAccessibilityManager.mm (1 line): - line 48: // TODO: can this be moved out of the startup path? Libraries/Inspector/resolveBoxStyle.js (1 line): - line 42: // TODO: Fix issues with multiple properties affecting the same side. Libraries/PermissionsAndroid/NativePermissionsAndroid.js (1 line): - line 14: // TODO: Use proper enum types. Libraries/Image/RCTImageLoaderWithAttributionProtocol.h (1 line): - line 18: // TODO (T61325135): Remove C++ checks Libraries/NativeAnimation/Nodes/RCTPropsAnimatedNode.m (1 line): - line 23: NSMutableDictionary *_propsDictionary; // TODO: use RawProps or folly::dynamic directly Libraries/StyleSheet/private/_TransformStyle.js (1 line): - line 48: // TODO: what is the actual type it expects? Libraries/SurfaceHostingComponent/RCTSurfaceHostingComponent.mm (1 line): - line 90: // TODO (T115399546) Allow RCTFabricSurface synchronouslyWaitFor to wait for mounting completion stage Libraries/Utilities/ReactNativeTestTools.js (1 line): - line 60: // TODO: Remove this after deleting `Touchable`. ReactCommon/react/renderer/components/textinput/androidtextinput/react/renderer/components/androidtextinput/AndroidTextInputState.cpp (1 line): - line 88: toDynamic(paragraphAttributes); // TODO: can we memoize this in Java? ReactCommon/react/renderer/uimanager/UIManagerAnimationDelegate.h (1 line): - line 23: * TODO: need SurfaceId here packages/rn-tester/js/components/RNTesterModuleContainer.js (1 line): - line 64: // TODO remove this case flow/jest.js (1 line): - line 1151: // TODO handle return type ReactAndroid/src/main/java/com/facebook/react/jscexecutor/OnLoad.cpp (1 line): - line 64: // TODO mhorowitz T28461666 fill in some missing nice to have glue ReactAndroid/src/main/java/com/facebook/react/common/mapbuffer/jni/react/common/mapbuffer/JReadableMapBuffer.cpp (1 line): - line 21: // TODO T83483191: Reevaluate what's the best approach here (allocateDirect vs React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.mm (1 line): - line 180: // FIXME: Commented props are not supported yet. ReactAndroid/src/main/java/com/facebook/react/fabric/jni/EventEmitterWrapper.cpp (1 line): - line 41: // TODO: customCoalesceKey currently unused ReactAndroid/src/main/jni/react/jni/JavaModuleWrapper.cpp (1 line): - line 139: // TODO: evaluate whether calling through invoke is potentially faster ReactAndroid/src/main/java/com/facebook/react/common/mapbuffer/ReadableMapBuffer.kt (1 line): - line 145: // TODO T83483191: Add tests ReactCommon/react/renderer/components/textinput/iostextinput/TextInputProps.h (1 line): - line 51: // TODO: Rename to `tintColor` and make universal. Libraries/Image/RCTUIImageViewAnimated.m (1 line): - line 183: // TODO: `displayLink.frameInterval` is not available on UIKitForMac ReactCommon/react/renderer/animations/LayoutAnimationKeyFrameManager.h (1 line): - line 59: // TODO: add SurfaceId to this API as well ReactAndroid/src/main/jni/react/jni/ReadableNativeArray.cpp (1 line): - line 23: // TODO T112842309: Remove after fbjni upgraded in OSS ReactCommon/react/renderer/components/text/ParagraphShadowNode.cpp (1 line): - line 130: // TODO T67606511: We will redefine the measurement of empty strings as part ReactCommon/react/renderer/components/text/conversions.h (1 line): - line 42: // TODO: Used for TextInput ReactCommon/react/nativemodule/core/platform/ios/RCTTurboModule.h (1 line): - line 115: * TODO: Consolidate this extension with the one in RCTSurfacePresenter. ReactCommon/react/renderer/scheduler/InspectorData.h (1 line): - line 19: // TODO T97216348: remove folly::dynamic from InspectorData struct Libraries/Animated/NativeAnimatedHelper.js (1 line): - line 25: // TODO T69437152 @petetheheat - Delete this fork when Fabric ships to 100%. React/Fabric/Mounting/ComponentViews/Image/RCTImageComponentView.mm (1 line): - line 92: // TODO (T58941612): Tracking for visibility should be done directly on this class. Libraries/Components/TextInput/TextInput.js (1 line): - line 1061: // TODO: Fix this returning true on null === null, when no input is focused ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactHorizontalScrollContainerView.java (1 line): - line 36: // TODO T86027499: support `setRemoveClippedSubviews` in RTL mode scripts/publish-npm.js (1 line): - line 85: // TODO: We'll need to make sure every release going forward has one of these. React/Views/RCTComponent.h (1 line): - line 52: // TODO: this is kinda dumb - let's come up with a Libraries/Text/RCTTextAttributes.m (1 line): - line 195: // FIXME: RCTFont has thread-safety issues and must be rewritten. ReactCommon/react/nativemodule/core/platform/ios/RCTTurboModule.mm (1 line): - line 437: // TODO: Re-use value conversion logic from existing impl, if possible. Libraries/StyleSheet/EdgeInsetsPropType.js (1 line): - line 15: // TODO: allow all EdgeInsets-like property to be set using a single number ReactCommon/react/renderer/components/image/ImageProps.h (1 line): - line 16: // TODO (T28334063): Consider for codegen. packages/rn-tester/android/app/src/main/jni/OnLoad.cpp (1 line): - line 15: // TODO: dvacca ramanpreet unify this with the way packages/rn-tester/js/RNTesterAppShared.js (1 line): - line 40: // TODO: Vendor AsyncStorage or create our own. ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactAccessibilityDelegate.java (1 line): - line 403: // TODO: Eventually support for other languages on talkback Libraries/Animated/createAnimatedComponent.js (1 line): - line 53: _component: any; // TODO T53738161: flow type this, and the whole file Libraries/EventEmitter/RCTDeviceEventEmitter.js (1 line): - line 14: // FIXME: use typed events ReactAndroid/src/main/java/com/facebook/react/bridge/CatalystInstanceImpl.java (1 line): - line 360: // TODO: tell all APIs to shut down ReactCommon/yoga/yoga/YGNodePrint.cpp (1 line): - line 107: // TODO: this doesn't take RTL / YGEdgeStart / YGEdgeEnd into account ReactCommon/react/renderer/mapbuffer/MapBuffer.h (1 line): - line 126: // TODO T83483191: review this declaration Libraries/Image/RCTImageStoreManager.mm (1 line): - line 105: // TODO (#5906496): Name could be more explicit - something like getBase64EncodedDataForTag:? ReactCommon/react/renderer/components/legacyviewmanagerinterop/LegacyViewManagerInteropComponentDescriptor.mm (1 line): - line 24: // TODO: remove FB specific code (T56174424) ReactAndroid/src/main/java/com/facebook/react/modules/core/JavaTimerManager.java (1 line): - line 36: // TODO: Lower frame duration on devices that are too slow to run consistently ReactAndroid/src/main/java/com/facebook/react/uimanager/FabricViewStateManager.java (1 line): - line 74: // TODO: State update cannot fail; remove `failureRunnable` and custom retrying logic. ReactAndroid/src/main/java/com/facebook/react/processing/ReactPropertyProcessor.java (1 line): - line 367: return builder.add("($L)value", READABLE_ARRAY_TYPE); // TODO: use real type but needs import ReactAndroid/src/main/java/com/facebook/react/devsupport/InspectorPackagerConnection.java (1 line): - line 97: // TODO: Use strings for id's too React/CoreModules/RCTPlatform.mm (1 line): - line 55: // TODO: Use the generated struct return type. ReactCommon/react/renderer/uimanager/UIManagerBinding.cpp (1 line): - line 652: // TODO: pass in JSI value instead of folly::dynamic to RawValue Libraries/Image/Image.android.js (1 line): - line 84: // TODO: T79192300 Log queryRootName and rootTag ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextShadowNode.java (1 line): - line 87: // TODO: We could probably use a smarter algorithm here. This will require 0(n) Libraries/Components/View/ViewPropTypes.js (1 line): - line 151: * PanResponder includes a note `// TODO: t7467124 investigate if this can be removed` that ReactAndroid/src/main/java/com/facebook/react/config/ReactFeatureFlags.java (1 line): - line 113: /** TODO: T113245006 Delete this flag. Enables caching of spannables for text */ ReactCommon/yoga/yoga/YGNode.h (1 line): - line 297: // TODO: rvalue override for setChildren ReactAndroid/src/main/jni/first-party/yogajni/jni/corefunctions.cpp (1 line): - line 46: // TODO why we need JNIEXPORT for getCurrentEnv ? ReactCommon/react/renderer/mounting/ShadowView.h (1 line): - line 83: * We rely on this only for marginal cases. TODO: could we ReactCommon/react/bridging/Error.h (1 line): - line 16: // TODO (T114055466): Retain stack trace (at least caller location) Libraries/NativeAnimation/RCTNativeAnimatedModule.h (1 line): - line 18: // TODO T69437152 @petetheheat - Delete this fork when Fabric ships to 100%. ReactCommon/react/renderer/components/scrollview/ScrollViewProps.h (1 line): - line 17: // TODO (T28334063): Consider for codegen. Libraries/NativeAnimation/Nodes/RCTColorAnimatedNode.m (1 line): - line 27: // TODO (T111179606): Support platform colors for color animations Libraries/Storage/AsyncStorage.js (1 line): - line 344: // TODO: Check whether above comment is correct. multiMerge is guaranteed to ReactAndroid/src/main/java/com/facebook/react/bridge/ReactContext.java (1 line): - line 138: // TODO: T7538796 Check requirement for Override of getSystemService ReactContext ReactAndroid/src/main/java/com/facebook/react/bridge/JavaScriptExecutor.java (1 line): - line 23: * after this. TODO mhorowitz: This may no longer be used; check and delete if possible. packages/react-native-codegen/buck_tests/emptyFile.mm (1 line): - line 13: // TODO: Import every prop and event to asset they're generated ReactAndroid/src/main/jni/react/jni/ReadableNativeMap.cpp (1 line): - line 15: // TODO T112842309: Remove after fbjni upgraded in OSS ReactCommon/cxxreact/Instance.cpp (1 line): - line 255: // TODO: Replace JS Callinvoker with RuntimeExecutor. ReactCommon/react/renderer/components/textinput/androidtextinput/react/renderer/components/androidtextinput/AndroidTextInputProps.h (1 line): - line 171: * TODO T63008435: can these, and this feature, be removed entirely? ReactCommon/react/renderer/textlayoutmanager/platform/ios/RCTFontUtils.mm (1 line): - line 65: // FIXME: ReactCommon/react/renderer/components/text/BaseTextShadowNode.h (1 line): - line 52: * TODO T53299884: decide if this should be moved out and made a static