Summary: 351 instances, 318 unique Text Count # TODO: support different package name internally. 1 # TODO T96844980: Fix and enable generated_tests-codegen_testsAndroid 1 _ref: any; // TODO T53738161: flow type this, and the whole file 1 // TODO (T43155926) valueFromDynamic already returns a Value 1 // TODO mhorowitz #7128529: There's no way to automatically test this 1 // TODO T31905686: Remove this method and add support for multi-threading performance counters 1 // TODO T83483191: Review why the following props are not serialized: 1 // TODO: Object type should produce is own class to represent its shape. 1 * PanResponder includes a note `// TODO: t7467124 investigate if this can be removed` that 1 // TODO: Support rotation, anchor to left and right without breaking frame x coordinate (T27974328). 1 * receipt. TODO: The method name is incorrect and will be renamed, #6033872 1 // TODO: T31905686 Check if the parent of the view has to layout the view, or the child has 1 // TODO T86027499: support `setRemoveClippedSubviews` in RTL mode 1 // TODO (T71955395): NativeModule spec type name does not 1 // TODO T83943316: Deprecate and delete this constructor once StaticViewConfigs are enabled by 1 // TODO: somehow guarantee that only "private" instantiations of Event 1 // TODO: this is a terrible solution - in order to ensure `currentState` 1 // TODO: multi-create, multi-insert, etc 1 // TODO: rvalue override for setChildren 1 * after this. TODO mhorowitz: This may no longer be used; check and delete if possible. 1 /* $FlowFixMe[incompatible-type] : TODO T48204745 (1) apply(context, 2 // TODO T83483191: Add tests 1 // TODO T83483191:Add checks to verify that offsets are under the boundaries 1 // TODO: revisit this implementation 4 // TODO remove this case 1 // TODO (T45220498): Remove this. 1 * TODO: differentiate between onChange and onChangeText 2 // TODO: Move style properties into a `style` prop and disallow them as 1 // TODO: Remove in a few weeks. 1 // TODO T53300085: support this in codegen; this was hand-written 1 // TODO: Uncomment this when all supported JSC versions have this symbol 1 * TODO: need SurfaceId here 1 toDynamic(paragraphAttributes); // TODO: can we memoize this in Java? 1 // TODO T58784068: delete this method 1 // TODO: Setup loading bar. 1 // TODO: figure out RTL/start/end/left/right stuff here 1 // TODO T97216348: remove folly::dynamic from InspectorData struct 1 // TODO T42943890: Fix animations in Fabric and remove this try/catch? 1 +target: EventTarget; // TODO: nullable 1 // TODO T83615646: make this a hard-crash in the future. 1 // TODO: t6408636 verify if we should schedule a layout after a View does a requestLayout() 1 // TODO T67606511: We will redefine the measurement of empty strings as part 1 // TODO T83483191: Add checks to verify that offsets are under the boundaries 1 // TODO: Somehow get image size and convert `loaded` and `total` to image bytes. 1 // TODO (T47819352): Rename this to startSurface for consistency with xplat/iOS 1 // TODO: read this out of an env variable or config 1 // TODO: If mid bounce, animate the scroll view to a non-bounced position 1 // TODO: turn all of this into a lambda and share code? 1 // TODO: what is the actual type it expects? 1 // causing some issues. TODO: revisit this post-Fabric/TurboModule. 1 // TODO: check if multiple requests are cached or if it's a net loss 1 // TODO T83943316: Delete this variable once StaticViewConfigs are enabled by default 1 // TODO: Use `Point` type instead of `Size` for `textShadowOffset` attribute. 1 // TODO T97384889: unify component names between JS - Android - iOS - C++ 1 ## TODO mhorowitz: add @DoNotStrip to the interface directly. 2 // TODO: Use strings for id's too 1 // TODO: Stop restoring default values (unless `reset` is called). 1 * TODO T63008435: can these, and this feature, be removed entirely? 1 * callsites return void and this TODO notice is found in it: 1 // TODO: Eventually this should go away and files should just include RCTSurfacePresenter.h, but 1 // TODO T62192299: remove this after investigation 1 absoluteFill: (absoluteFill: any), // TODO: This should be updated after we fix downstream Flow sites. 1 // TODO: detect up-front if re-rendering is necessary 1 // TODO T67606397: Refactor configuration of fabric logs 1 // TODO T83483191: Extend MapBuffer C++ implementation to support basic random 1 // TODO: dvacca ramanpreet unify this with the way 2 // TODO: Move this processing to the view configuration. 1 // TODO: this is kinda dumb - let's come up with a 1 // TODO: kCGColorSpaceModelXYZ should be added sometime after Xcode 10 release. 1 * The underlying scrollView (TODO: can we remove this?) 1 // TODO: add SurfaceId to this API as well 1 // TODO: seems like transform covers rotation/translate/scale/skew? 1 // TODO: This seems like a whole lot of runtime initialization for every 1 * TODO: would it be useful to have a callback for when this has completed? 1 // TODO: `displayLink.frameInterval` is not available on UIKitForMac 1 // TODO T83483191: review this declaration 1 -1, // TODO: we should pass rootTag in 3 // TODO (T71847026): Some array types are missing elementType annotation. 1 // FIXME: RCTFont has thread-safety issues and must be rewritten. 1 * TODO: this logic looks wrong, and it may be because it is. Currently, if _scrollEventThrottle 1 * TODO: Consolidate this extension with the one in RCTSurfacePresenter. 1 // TODO: (moti) T53588496 Replace `(NSArray *)stack` in 1 // TODO (T46547044): use React.warn once 16.9 is sync'd: https://github.com/facebook/react/pull/15170 1 // TODO: t7467124 investigate if this can be removed 1 // TODO: We'll need to make sure every release going forward has one of these. 1 // TODO: Optional Object property is not necessarily nullable. 2 // TODO: can this be moved out of the startup path? 1 // TODO: add assert that opcode is not a control; 1 // TODO T59221129: document where this value comes from and how it is set. 1 // TODO: Can we just replace RCTMakeError with this function instead? 1 // TODO (6929129): we can remove this special case test once we have better 1 // TODO: Vendor AsyncStorage or create our own. 1 // TODO: this should only happen when using Fabric renderer. This is a temporary approach 1 // TODO: remove FB specific code (T56174424) 1 // TODO: hermes hasn't implemented ProgramState::getBreakpoint yet 1 // TODO T62882314: Delete this method when Fabric is fully released in OSS 1 // TODO: is this necessary anymore? 1 +currentTarget: EventTarget; // TODO: nullable 1 // TODO mhorowitz #10487027: This is super ugly. We should just 1 // TODO: T63643819 refactor naming of TextAttributeProps to make explicit that this represents 1 // FIXME: this may generate incorrect events when view collapsing changes the hierarchy 1 NSMutableDictionary *_propsDictionary; // TODO: use RawProps or folly::dynamic directly 1 * TODO T53299884: decide if this should be moved out and made a static 1 // TODO: (hramos) T52919652 Use ?ColorSchemeName once codegen supports union 1 // TODO: Support for symbols through the native API in JSC is very limited. 1 // TODO: Get target OS and simulator from .tests.env 1 // TODO: Figure out how to avoid all this runtime initialization cost. 1 // TODO: move this file to shims/ReactNative (requires React update and sync) 1 // TODO: T57583139 1 // TODO: Fix this returning true on null === null, when no input is focused 1 * TODO: Callback types should be made equal (preferably 1 // TODO: compare ShadowNode pointer instead of ShadowView here? 1 // TODO: Actually, we should reinitialize the state any time 1 // TODO: import from CodegenSchema once workspaces are enabled 1 // TODO: remove "underline line-through" after "line-through" deprecation 1 // TODO: Handle nullable falsy return. 1 // TODO why we need JNIEXPORT for getCurrentEnv ? 1 // TODO: don't ask for extra module for when TurboModule is enabled. 1 // TODO (T93859532): Investigate implementation for this. 1 // TODO: handle error 1 // TODO: we should convert this to JSValue directly 1 // TODO: customCoalesceKey currently unused 1 // TODO: T62959168 account for RTL and paddingLeft when setting default 1 // FIXME: 1 // TODO: (moti) T48204753 Make sure this warning is never hit and remove it - types 1 null, // TODO: do we need to support FontFeatureSettings / fontVariant? 1 // TODO T60461551: add tests to verify emission of events when the ReactContext is being turn 1 // TODO: buildRequest returns a cancellation block, but there's currently 1 // TODO: maybe not copy this for performance 2 # TODO: Ideally, we generate the input_files list from generate-artifacts.js and read the result here. 1 // TODO: T79192300 Log queryRootName and rootTag 1 // TODO: There are some edge cases that currently aren't supported. For example, if the size 1 // TODO T62717437 - Use a flag to determine that these event emitters belong to virtual nodes 1 // TODO (#5906496): this a nasty performance drain, but necessary 1 // TODO: evaluate whether calling through invoke is potentially faster 1 // TODO T63839307: remove this condition after deleting TextInlineImage from 1 // TODO: remove "line-through" after deprecation 1 // TODO: Check whether above comment is correct. multiMerge is guaranteed to 1 // TODO: This should return S as the return type. But first, 1 // TODO: now that AppState is a subclass of NativeEventEmitter, we could 1 // TODO: Lower frame duration on devices that are too slow to run consistently 1 // TODO T112842309: Remove after fbjni upgraded in OSS 2 // TODO: currently we do not support attachments for cached IDs - should we? 1 // TODO cout << obj.get()->toString() << endl; 1 // TODO: use com.facebook.common.locale.Locales.getApplicationLocale() as the current locale, 1 /** TODO: T113245006 Delete this flag. Enables caching of spannables for text */ 1 // TODO: optimize so this can continue from where we last searched 1 * TODO: T54849676 1 // TODO: delete, this is no longer used from JS 1 * TODO: Currently unsupported: nextFocusForward/Left/Up/Right/Down 1 srcElement: Element; // TODO: nullable 1 // TODO: throw exception here? 1 ), // TODO: Android support 1 // TODO (t26491391): make tickleJs a real Hermes runtime API 1 // TODO: Rename to `tintColor` and make universal. 1 // TODO: color for some reason can be object in Java but not in C++ 2 /// TODO: create a factory that uses SerialAsyncExecutorFactory if we're 1 /// TODO T40778724: this is a limited implementation sufficient for 1 // TODO: This must be filtered intelligently. 1 // TODO T83483191: Reevaluate what's the best approach here (allocateDirect vs 1 // TODO: type these properly. 1 *

TODO T7247021: Replace updateExtraData with generic update props mechanism after D2086999 1 // TODO: this class behaves a lot like a module, and could be implemented as a 1 // TODO T71377544: delete this when the JS method is confirmed safe 1 // TODO T86826778 - Figure out which queue this should be dispatched to. 1 // TODO: bundles from the packager should always include a NULL byte 1 // TODO: replace with a more robust solution 1 // TODO: this may throw if ca.value is a CBOR (see RFC 8949), but the 1 // TODO T74425739: previously, we did not do this check and `removeViewAt` would be executed 1 // TODO: this method will be removed when binding for components are code-gen 1 // TODO (T28334063): Consider for codegen. 2 // TODO: #10487027 compare tags instead of doing string comparison? 1 // TODO: see above - this request just populates the value of `currentState` 1 // TODO T67518514 Clean this up once we migrate everything over to bridgeless mode 1 // TODO: We could probably use a smarter algorithm here. This will require 0(n) 1 * TODO: (T115656171) Refactor RCTRegisterModule out of Bridge.m since it doesn't use the Bridge. 1 # TODO: use this to define the compiler flag REACT_NATIVE_DEBUG in debug/dev mode builds only. 1 // TODO: T65793557 Refactor sendAccessibilityEvent to use ViewCommands 1 FrameRateLogger.beginScroll(); // TODO: track all scrolls after implementing onScrollEndAnimation 1 // TODO 17216751: providers should never return null modules 1 // TODO: Implement it properly. 1 // TODO: (hramos) T52919652 Use ?ColorSchemeName once codegen supports union 2 // TODO: figure out what to do with this style prop for codegen/Fabric purposes 1 // TODO: It should return its own class type. 1 // TODO T68526882: Unify with Binding::UIManagerJavaDescriptor 1 // TODO: t7936714 merge these events 1 // TODO: T31905686 Create synchronous Event Beat 1 // TODO: change to integer codes and a switch statement 1 // TODO T83943316: Remove this IF once StaticViewConfigs are enabled by default 1 // TODO (T61325135): Remove C++ checks 3 // TODO mhorowitz T28461666 fill in some missing nice to have glue 1 // TODO: React ART currently falls in this bucket, but this doesn't 1 // TODO: Get the parent closure's name 1 // TODO: add assert that opcode is not a control; 1 // TODO: When CDTP sends a column number of 0, we send Hermes a column 1 // TODO: replace ReadableNativeMap -> ReadableMapBuffer 1 # TODO: Once the new codegen approach is ready for use, we should output a warning here to let folks know to migrate. 1 // TODO: Reconcile these across the two platforms. 1 'TODO: not yet implemented. This method is also deprecated.', 1 // TODO: (rickhanlonii) T44881457 If a default is provided, it should always be optional 1 nativeID="inspectorOverlay" /* TODO: T68258846. */ 1 // TODO: Use proper enum types. 1 // TODO (T71926678): Revisit if optional should be supported. 1 // TODO (axe) Reuse existing implementation as needed - the exist in 1 // TODO T97216348: avoid transforming jsi into folly::dynamic 1 // TODO: tell all APIs to shut down 1 // TODO #12592471: batchDidComplete is only used by RCTUIManager, 1 // TODO T67518514 Clean this up once we migrate everything over to bridgeless mode 1 // TODO: support RTL 1 // TODO: T44725185 remove after full migration to Fabric 1 // TODO (T111179606): Support platform colors for color animations 2 // TODO: Fix issues with multiple properties affecting the same side. 1 // TODO: allow all EdgeInsets-like property to be set using a single number 1 // TODO #7120264: Cache this stuff better. 1 // TODO: codegen these 1 // TODO: Would be great to avoid adding this callback in case there are no active 1 // TODO (T115399546) Allow RCTFabricSurface synchronouslyWaitFor to wait for mounting completion stage 1 // TODO T63008435: can these, and this feature, be removed entirely? 1 // TODO: force for a 'normal' touch is usually 1.0; 1 // TODO T31905686: This class should be private 2 // TODO T71377585 2 *

TODO T97384889: remove this class when the component names are unified between JS - Android - 1 currentTarget: EventTarget; // TODO: nullable 1 // TODO: modularize this segment, it is repeated 2x in KeyFrameManager 1 // TODO: t9053573 is tracking that this code should be shared 1 // TODO: Import every prop and event to asset they're generated 2 // TODO: to prevent this step we could tag Remove/Insert mutations as 1 // TODO (bvaughn) Decide which additional types to expose here? 1 // TODO T69453179: Codegen this file 1 // TODO: don't animate virtual views in the first place? 1 // TODO: could probably optimize this with SIMD 1 /* $FlowFixMe[incompatible-call] : TODO T48204745 (1) apply(context, 2 # TODO: fbjni currently DOES NOT WORK with -fno-exceptions, which breaks MOST RN Android modules 1 return builder.add("($L)value", READABLE_ARRAY_TYPE); // TODO: use real type but needs import 1 // TODO: T7538796 Check requirement for Override of getSystemService ReactContext 1 // TODO: enable assert JS thread from any file (and assert here) 1 private volatile long mCurrentFrameNumber; // TODO T71377544: delete 1 // TODO: The following checks have to be removed after codegen is shipped. 1 // TODO: would it be safer to do this in the bridge or executor, rather than trusting caller? 1 // TODO: State update cannot fail; remove `failureRunnable` and custom retrying logic. 1 // TODO: t18095186 Move nodeType to opt-in function and mark appropriate 2 // TODO (axe) Investigate the best way to convert Java Map to Value 1 _component: any; // TODO T53738161: flow type this, and the whole file 1 // TODO: Replace with mustfix once mustfix is ready in React Native. 1 false, // TODO add this into local Data 2 // TODO #11638796: convert the stack into something useful 1 // FIXME: this caches whatever the bounds were when it was first called, and then 1 // TODO: T40099998 implement recycling properly for Fabric Slider component 1 // TODO T64216139 Remove dependency of UIManagerModule when the Constants are not in Native 1 // FIXME: Optimize this. 1 // TODO: When React switched to using call stack frames, 1 // TODO: Make this into an opaque type. 1 /** Temporary: due to T67035147, log sources of destroy calls. TODO T67035147: delete */ 1 * (TODO mhorowitz #7128529: this exception behavior is not yet 1 // TODO T71377544: investigate these SoftExceptions and see if we can remove entirely 2 // TODO: use RBCContext instead of all the separate arguments. 1 * TODO: t7467124 investigate if this can be removed 1 // TODO: this doesn't take RTL / YGEdgeStart / YGEdgeEnd into account 1 // TODO (T114055466): Retain stack trace (at least caller location) 1 // TODO mhorowitz: how to assert here? 1 // TODO T68319535: remove this if NativeAnimated is rewritten for Fabric 1 * TODO: use [NSArray getObjects:buffer] to reuse same fast buffer each time. 1 * events for this wrapper instances. TODO: T7538544 Rename ThemedReactContext to be in alignment 1 // TODO: in the future we'll want to make sure this has the same 1 // TODO: T26400974 ReactShadowNode should not depend on nativeViewHierarchyOptimizer 1 // TODO T62192299: remove when investigation is complete 1 // TODO (T35574538): findNodeHandle sometimes crashes with "Unable to find 1 target: EventTarget; // TODO: nullable 1 // TODO: Replace JS Callinvoker with RuntimeExecutor. 1 * TODO: In JavaNativeModule, folly::none is returned when the synchronous 1 // TODO: pass in JSI value instead of folly::dynamic to RawValue 1 // TODO #13258411: can we defer this until config generation? 1 // TODO: This "effect" does three things: 1 * We rely on this only for marginal cases. TODO: could we 1 // TODO handle return type 1 // TODO: Optimize this. Don't really have to copy all the data each time 1 // TODO: This prop should be deprecated. 1 // TODO if this interface survives refactoring, think about adding 1 // FIXME: use typed events 2 // TODO: Used for TextInput 1 // TODO: Eventually support for other languages on talkback 1 // TODO: Handle invalid opcode 1 // TODO T97216348: remove folly::dynamic from InspectorData struct 1 // TODO T67606511: We will redefine the measurement of empty strings as part 2 // TODO: detect and handle/ignore re-ordering 1 nativeID={'StickyHeader-' + key} /* TODO: T68258846. */ 1 'no-warning-comments': 0, // disallow usage of configurable warning terms in comments": 1, // e.g. TODO or FIXME (off by default) 1 // TODO T83483191: Review constants that are not being set! 1 throw new Error('TODO: not yet implemented'); 2 // TODO: Optimisation: allow running for longer than one frame if 1 // TODO T69437152 @petetheheat - Delete this fork when Fabric ships to 100%. 3 // FIXME: Commented props are not supported yet. 1 // TODO T62192299: remove when investigation is complete 1 // TODO: provide original command or command line? 2 // TODO: Re-use value conversion logic from existing impl, if possible. 1 // TODO (#5906496): Name could be more explicit - something like getBase64EncodedDataForTag:? 1 // TODO: Don't apply background color to anchor TextView since it will be applied on the View 1 private boolean mBatchingControlledByJS = false; // TODO T71377544: delete 1 // TODO (T58941612): Tracking for visibility should be done directly on this class. 1 // TODO: specify error better! 1 // TODO: Use the generated struct return type. 1 // TODO T97384889: unify component names between JS - Android - iOS - C++ 1 *

TODO: T45627020 1 // TODO: Adopt showMenuFromRect (necessary for UIKitForMac) 2 // TODO: consider factoring separator stuff out of VirtualizedList into FlatList since it's not 1 // TODO T56559197: remove this condition when we migrate 100% to Fabric 1 // TODO: Remove this after deleting `Touchable`. 1 // FIXME: JSI currently does not handle cycles and functions well here 1 // TODO (#5906496): for scrollviews (the primary use-case) we could 1 * TODO: Do source maps break when we use a require hook 1 +srcElement: Element; // TODO: nullable 1 * TODO: Investigate CxxModule infra to see if folly::none is used for 1 // TODO: Chunk this if there are too many fragments to update. 1 // TODO T58784068: delete this block of code, these are always unset in Fabric 1 // TODO: Only invalidate `node` if animated props or `style` change. In the 1 * FIXME: using number to represent discrete scale numbers is fragile in essence because of 1 // TODO T31905686: add support for inline Images 2 *

TODO: T63569137 Delete the method UIManagerModule.resolveRootTagFromReactTag 1