Summary: 976 instances, 558 unique Text Count # TODO T96844980: Fix and enable generated_tests-codegen_testsAndroid 1 // TODO: Defer siblings if we're not at the right index for this slot. 8 inst = inst.return; // TODO: If this is a HostRoot we might want to bail out. 8 // TODO (T43155926) valueFromDynamic already returns a Value 1 // TODO T31905686: Remove this method and add support for multi-threading performance counters 1 } // TODO: Special case idle priority? 4 * PanResponder includes a note `// TODO: t7467124 investigate if this can be removed` that 1 // TODO T83943316: Deprecate and delete this constructor once StaticViewConfigs are enabled by 1 // TODO: this is a terrible solution - in order to ensure `currentState` 1 // TODO: multi-create, multi-insert, etc 1 // TODO winnow down the number of make_flow_receiver overloads and deduction 1 // TODO (evv): rename timeStamp to timestamp in internal code 4 // TODO T83483191:Add checks to verify that offsets are under the boundaries 1 // TODO: revisit this implementation 4 // TODO: This will still suspend a synchronous tree if anything 2 // TODO remove this case 1 } // TODO: These two methods should be replaced with `createOffscreenInstance` and 1 // TODO: Move style properties into a `style` prop and disallow them as 1 // TODO: Maybe implement glog header in terms of Windows' TraceLoggingProvider.h? 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: Reuse reappearLayoutEffects traversal here? 2 // TODO: figure out RTL/start/end/left/right stuff here 1 // TODO T97216348: remove folly::dynamic from InspectorData struct 1 * TODO: Instead of making gestures recompute filtered velocity, we could 4 // TODO: t6408636 verify if we should schedule a layout after a View does a requestLayout() 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 : eventTypes.scrollShouldSetResponder; // TODO: stop one short of the current responder. 4 update.tag = ForceUpdate; // TODO: Because we don't have a work-in-progress, this will add the 4 // TODO: turn all of this into a lambda and share code? 1 // causing some issues. TODO: revisit this post-Fabric/TurboModule. 1 * TODO: 4 // 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: remove this ctor, which is required only by gcc49 1 // TODO: Stop restoring default values (unless `reset` is called). 1 * TODO T63008435: can these, and this feature, be removed entirely? 1 // TODO: deprecate/remove in favor of getSelfCertificate. 1 } // TODO: For the shouldClone case, this could be micro-optimized a bit by 4 // TODO: Eventually this should go away and files should just include RCTSurfacePresenter.h, but 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 T83483191: Extend MapBuffer C++ implementation to support basic random 1 // TODO: dvacca ramanpreet unify this with the way 1 // TODO: kCGColorSpaceModelXYZ should be added sometime after Xcode 10 release. 1 // TODO: We only check `didTimeout` defensively, to account for a Scheduler 4 // TODO T83483191: Add asserts to check overflowing on additions 1 // TODO T83483191: we should invalidate the class once the build() method is 1 // TODO: add SurfaceId to this API as well 1 << "TODO: AsyncSSLSocket currently does not support calling " 1 // TODO: Might be able to fully move to std::atomic when gcc emits lock btr: 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 var ctor = workInProgress.type; // TODO This way of resetting the error boundary state is a hack. 4 // TODO: [ ] can games be played with making the VTable a member of a struct 1 // TODO - only move, move-only types.. 2 std::unordered_set hs; // TODO lock-free alternative 1 // TODO: (moti) T53588496 Replace `(NSArray *)stack` in 1 // TODO: Use invariant so the message is stripped in prod? 4 // TODO (T46547044): use React.warn once 16.9 is sync'd: https://github.com/facebook/react/pull/15170 1 // TODO: Probably should refactor `beginWork` to split the bailout 2 // TODO need a notion of failing to create the thread 1 // TODO: Optional Object property is not necessarily nullable. 2 } // TODO: If deps are provided, should we skip comparing the ref itself? 8 // TODO: Check if this was a nested HostRoot when used with 4 // TODO: add assert that opcode is not a control; 1 // TODO: revisit this when we implement resuming. 4 // TODO: Can we just replace RCTMakeError with this function instead? 1 // TODO: Remove. 1 * TODO: Support including thread names and thread context info. 1 // TODO: Assert. We can't assume a display scale on macOS 1 // TODO: remove FB specific code (T56174424) 1 // TODO T62882314: Delete this method when Fabric is fully released in OSS 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 // TODO: Allow both file descriptors and SOCKETs in this. 1 NSMutableDictionary *_propsDictionary; // TODO: use RawProps or folly::dynamic directly 1 // TODO extract and node_handle insert 1 // TODO: Remove this conditional once all changes have propagated. 2 // TODO: Figure out how to avoid all this runtime initialization cost. 1 // TODO: It would be nice to handle overflow here. 3 // TODO: Once we add back resuming, we should check if the children are 4 // TODO: Fix this returning true on null === null, when no input is focused 1 // TODO: compare ShadowNode pointer instead of ShadowView here? 1 // TODO: Support growth of the huge page arena. 1 } // TODO: the code is right but the types here are wrong. 2 // TODO: Find a more efficient way to do this. 2 } // TODO: GH#774, prevent crashes when URL is erroneously nil 1 // TODO: import from CodegenSchema once workspaces are enabled 1 var type = finishedWork.type; // TODO: Type the updateQueue to be specific to host components. 2 // TODO (T93859532): Investigate implementation for this. 1 // TODO: we should convert this to JSValue directly 1 var BeforeMutationMask = // TODO: Remove Update flag from before mutation phase by re-landing Visibility 2 // TODO T83483191: check if there's dynamic data? 1 // TODO: customCoalesceKey currently unused 1 // TODO update assign interface, operator[], at 1 // TODO: (moti) T48204753 Make sure this warning is never hit and remove it - types 1 // TODO: This no longer makes any sense. We already wrap the mutation and 4 // TODO: Maybe there's a better way to report this. 4 /** TODO T31905686 optimize this to avoid copying arrays */ 1 // TODO: Probably should refactor `beginWork` to split the bailout 2 // TODO T60461551: add tests to verify emission of events when the ReactContext is being turn 1 // TODO: T79192300 Log queryRootName and rootTag 1 # system packages are installed. TODO: For users not defined in the 1 // TODO T62717437 - Use a flag to determine that these event emitters belong to virtual nodes 1 // TODO: evaluate whether calling through invoke is potentially faster 1 // TODO T63839307: remove this condition after deleting TextInlineImage from 1 // TODO: Check whether above comment is correct. multiMerge is guaranteed to 1 fiber.stateNode = null; // TODO: Move to `commitPassiveUnmountInsideDeletedTreeOnFiber` instead. 4 // TODO: now that AppState is a subclass of NativeEventEmitter, we could 1 * TODO: T54849676 1 // TODO: Move this to passive phase 2 // TODO T83483191: extract common code of "get methods" 1 // TODO: throw exception here? 1 // TODO: Warn in a future release. 4 * TODO: This shouldn't bubble. 8 // TODO: Restructure so we never read values from the instance. 4 ), // TODO: Android support 1 // TODO (t26491391): make tickleJs a real Hermes runtime API 1 // TODO T83483191: Reevaluate what's the best approach here (allocateDirect vs 1 // TODO: add specialization for std::basic_string_view 1 // TODO: type these properly. 1 // TODO: this class behaves a lot like a module, and could be implemented as a 1 // TODO: Check if we're inside an Offscreen subtree that disappeared 1 // TODO - only move, move-only types.. 1 // TODO T83483191: avoid allocating serializedData_ when using 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: Should warn in effects and callbacks, too 4 // TODO: implement detachSSL() that returns the SSL connection 1 // TODO: Check if fiber has a PassiveStatic flag 4 // 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 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: Pass `current` as argument 4 # TODO: use this to define the compiler flag REACT_NATIVE_DEBUG in debug/dev mode builds only. 1 var currentHostContext = getHostContext(); // TODO: Experiencing an error where oldProps is null. Suggests a host 2 var newState = queue.baseState; // TODO: Don't need to accumulate this. Instead, we can remove renderLanes 4 var currentHostContext = getHostContext(); // TODO: Move createInstance to beginWork and keep it on a context 4 // TODO 17216751: providers should never return null modules 1 // TODO (bvaughn): If we decide to keep the wrapper component, 4 // TODO: Implement it properly. 1 // TODO: figure out what to do with this style prop for codegen/Fabric purposes 1 // TODO T83483191: This should return MapBuffer! 1 // TODO: This needs to run whenever there's an insertion or update 1 // TODO: change to integer codes and a switch statement 1 // TODO T83483191: review parameters of copy method 1 // TODO: Move this and createInstance step into the beginPhase 4 // 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: Delete all other places that schedule the passive effect callback 4 // TODO: For other file types, st_value holds a file offset directly. Since 1 // TODO: Get the parent closure's name 1 // TODO: Move to passive phase 2 // TODO T83483191: should we use std::move here? 1 // TODO: We really only need to unsuspend only lanes that are in the 4 // TODO: Move this back to throwException because this is too late 4 // TODO: Reconcile these across the two platforms. 1 * This API is likely to change once the fix of T78832286 is confirmed TODO: T78832286 revisit 1 // TODO (T71926678): Revisit if optional should be supported. 1 // TODO: see what patch files look like if moving to exising path 1 // TODO: I think this is now always non-null by the time it reaches the 4 // TODO (axe) Reuse existing implementation as needed - the exist in 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: T44725185 remove after full migration to Fabric 1 // TODO #7120264: Cache this stuff better. 1 // TODO Implement this for React Native 2 // TODO: codegen these 1 } // TODO: If we move the `hadNoMutationsEffects` call after `bubbleProperties` 2 // TODO T31905686: This class should be private 2 * TODO: enable support for the following 2: 1 // TODO: Lol maybe there's a better way to factor this besides this 4 // TODO T71377585 2 *

TODO T97384889: remove this class when the component names are unified between JS - Android - 1 // TODO: modularize this segment, it is repeated 2x in KeyFrameManager 1 // TODO: We can optimize this by not scheduling the callback earlier. Since we 4 // TODO: Import every prop and event to asset they're generated 2 // TODO mhorowitz: how to assert here? 1 // TODO: GH#858] 1 // TODO: to prevent this step we could tag Remove/Insert mutations as 1 // TODO T69453179: Codegen this file 1 // TODO: don't animate virtual views in the first place? 1 /* $FlowFixMe[incompatible-call] : TODO T48204745 (1) apply(context, 2 // TODO: Support other environments. 1 // TODO: If we're rendering sync either due to Sync, Batched or expired, 4 // TODO: Make sure this doesn't override pings that happen while we've 4 // [TODO: GH#858 1 // TODO: 2 # TODO: 1 0; // TODO: Remove ConcurrentMode by reading from the root tag instead 4 // TODO: Support including thread names and thread context info. 1 // TODO make this actually more performant. :-P #7260175 1 // TODO: Figure out how this makes sense. We're using a global boolean to only 1 // TODO #11638796: convert the stack into something useful 1 // TODO: this is recursive. 4 // TODO T64216139 Remove dependency of UIManagerModule when the Constants are not in Native 1 // TODO: Even though we are attempting to read data, SSL_read() may 1 // TODO: Consider warning about bad polyfills 4 // FIXME: Optimize this. 1 // TODO T83483191: consider moving short to INTs, we are doing extra cast operations just because 1 // TODO: When React switched to using call stack frames, 1 /** Temporary: due to T67035147, log sources of destroy calls. TODO T67035147: delete */ 1 // TODO add this line (and some tests for it) when we 1 // TODO T71377544: investigate these SoftExceptions and see if we can remove entirely 2 // TODO: findDOMNode doesn't rely on this any more but isMounted does 4 // TODO: this doesn't take RTL / YGEdgeStart / YGEdgeEnd into account 1 var BeforeMutationMask = // TODO: Remove Update flag from before mutation phase by re-landing Visiblity 2 // TODO: [ ] copy/move from Poly/Poly to Poly 1 // TODO mhorowitz: how to assert here? 1 // TODO (t17322426): remove when VS2015 support is deprecated 2 * events for this wrapper instances. TODO: T7538544 Rename ThemedReactContext to be in alignment 1 path1IsNew: boolean /* TODO :: path2IsNew ? */, 1 // TODO: T26400974 ReactShadowNode should not depend on nativeViewHierarchyOptimizer 1 // TODO (T35574538): findNodeHandle sometimes crashes with "Unable to find 1 // TODO: Fast path 8 // TODO: Is it safe to reset this now or should I wait since this unmount could be deferred? 4 // TODO: This "effect" does three things: 1 // TODO handle return type 1 // TODO: This prop should be deprecated. 1 // TODO if this interface survives refactoring, think about adding 1 // TODO: Eventually support for other languages on talkback 1 if (URL != nil) { // TODO: GH#774, prevent crashes when URL is erroneously nil 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 } // FIXME: there used to be other branches that protected 4 // TODO: Move to passive phase 2 // TODO: Optimisation: allow running for longer than one frame if 1 // 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: Don't apply background color to anchor TextView since it will be applied on the View 1 // TODO: [ ] shared ownership? (Dubious.) 1 // TODO: We could fast path by just rendering the tail now. 4 rootWithPendingPassiveEffects = null; // TODO: This is sometimes out of sync with rootWithPendingPassiveEffects. 4 // TODO: Assign this to `suspenseState.retryLane`? to avoid 4 // TODO: Use the generated struct return type. 1 // TODO: Maybe there's some way to consolidate this with 4 // TODO: T71362667 add ReactNativeConfig's support in RNTester 1 // TODO (bvaughn): Remove this check when... 2 // TODO: This breaks on empty slots like null children. That's 8 // TODO: Should not remove render lanes that were pinged during this render 4 } // TODO: If workInProgress.child is null, we can continue on the tail immediately. 4 // TODO: Remove after upgrading to C++14 baseline 1 // TODO: Don't need to accumulate this. Instead, we can remove 4 // TODO: If key === null and child.key === null, then this only applies to 8 out.append(in.data(), in.size()); // TODO try/catch? 2 // FIXME: JSI currently does not handle cycles and functions well here 1 * TODO: Do source maps break when we use a require hook 1 + // TODO:: Office - Assert that moduleRegistry_ is created .. i.e. not null 1 } // TODO: Remove this assignment once we're confident that it won't break 4 // TODO: Reconsider this. The counter-argument is that the partial work 4 // TODO T58784068: delete this block of code, these are always unset in Fabric 1 // /* TODO: handle me */ 1 // TODO T31905686: add support for inline Images 2 // TODO: Switch to using an actual MAINTAINERS file. 1 # TODO: support different package name internally. 1 // TODO: if it was but can no longer be simple, 4 // TODO: Improve this by enabling edge antialiasing only for transforms with rotation or skewing 1 // TODO mhorowitz #7128529: There's no way to automatically test this 1 // TODO T83483191: Review why the following props are not serialized: 1 // TODO: implement graceful shutdown in close() 1 // TODO: Optimize this to use the OffscreenComponent fiber instead of 2 // TODO: Object type should produce is own class to represent its shape. 1 // TODO: Support rotation, anchor to left and right without breaking frame x coordinate (T27974328). 1 rootWithPendingPassiveEffects === null ? 0 : nestedPassiveUpdateCount + 1; // TODO: Move to commitPassiveMountEffects 4 * 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 var child = fiber.child; // TODO: Only traverse subtree if it has a PassiveStatic flag. (But, if we 4 // TODO T86027499: support `setRemoveClippedSubviews` in RTL mode 1 // TODO: Not sure if this is the desired semantics, but it's what we 4 // TODO (T71955395): NativeModule spec type name does not 1 // TODO: Move the reset at in beginWork out of the common path so that 4 // TODO: This gets called every time we yield. We can optimize by storing 4 // 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: Consider fallback that reads entire file into memory. 1 // TODO T83483191: Add tests 1 // TODO: It might help performance to provide a version of BytesWriteRequest 1 // TODO: Maybe the warning should be disabled by default, and then turned 2 // TODO (T45220498): Remove this. 1 * TODO: differentiate between onChange and onChangeText 2 // TODO: This is left over from the effect list implementation, where we had 4 // TODO: Remove the non-default implementations when both gcc and clang 1 // TODO: Remove in a few weeks. 1 // TODO T53300085: support this in codegen; this was hand-written 1 // TODO T58784068: delete this method 1 // TODO: popHydrationState 4 // TODO: Setup loading bar. 1 // TODO: Split the update API as separate for the props vs. children. 2 + // TODO :: Office patch :: Not sure why is this needed ? 1 // TODO T42943890: Fix animations in Fabric and remove this try/catch? 1 // TODO: Clean this up once we turn on the string ref warning for 4 // TODO T68319535: remove this if NativeAnimated is rewritten for Fabric 1 // TODO T83615646: make this a hard-crash in the future. 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 commitPassiveMountEffects(root, root.current); // TODO: Move to commitPassiveMountEffects 4 * TODO T83483191: add documentation. 1 // TODO T83483191 Extend serialization of MapBuffer to return null if there's no value 1 // TODO: what is the actual type it expects? 1 // TODO: make this faster. 1 // TODO T97384889: unify component names between JS - Android - iOS - C++ 1 // TODO For a list of N lists, this algorithm is O(N). It does no unrolling. 1 // TODO: Consider warning in this path if a fallback timer is not scheduled. 4 ## TODO mhorowitz: add @DoNotStrip to the interface directly. 2 // TODO: We could allocate the IOBuf object and SharedInfo all in a single 1 // TODO: Use strings for id's too 1 * callsites return void and this TODO notice is found in it: 1 // TODO T62192299: remove this after investigation 1 // TODO T67606397: Refactor configuration of fabric logs 1 // TODO: Deprecate this 1 // TODO: Move this processing to the view configuration. 1 // TODO: this is kinda dumb - let's come up with a 1 + // TODO mhorowitz T28461666 fill in some missing nice to have glue 1 * The underlying scrollView (TODO: can we remove this?) 1 // TODO: Warn in strict mode if getDerivedStateFromError is 4 // 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 T83483191: Using this method is safer than "importByteBuffer" because 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: It would be nice to handle overflow here and redesign this class. 3 // TODO: break this dependency rather than enforce it with concepts 1 // TODO: Temporary until we confirm this warning is not fired. 4 // TODO: Might be better if `flushPassiveEffects` did not automatically 4 * TODO: this is required because the WritableNativeArray.getMap() returns a ReadableMap instead 1 // TODO: t7467124 investigate if this can be removed 1 // TODO: [ ] copy-on-write? 1 // TODO: Could technically implement MAP_POPULATE via PrefetchVirtualMemory 1 // TODO: can this be moved out of the startup path? 1 // TODO: Consider calling `unwindWork` to pop the contexts. 4 // TODO T59221129: document where this value comes from and how it is set. 1 // std::move_backward here will just turn into a memmove. (TODO: 1 // TODO: Move out of the loop. This only happens for the first run. 8 // TODO (6929129): we can remove this special case test once we have better 1 // TODO: Vendor AsyncStorage or create our own. 1 offscreenFiber.flags |= Visibility; // TODO: This will still suspend a synchronous tree if anything 2 // TODO: this should only happen when using Fabric renderer. This is a temporary approach 1 var queue = syncQueue; // TODO: Is this necessary anymore? The only user code that runs in this 4 // TODO: hermes hasn't implemented ProgramState::getBreakpoint yet 1 // TODO (bvaughn) Revisit this decision. 4 // TODO: is this necessary anymore? 1 // TODO: [x] "cast" from Poly to Poly 1 // TODO: Replace with std::equal_to, etc., after upgrading to C++14. 1 * TODO T53299884: decide if this should be moved out and made a static 1 // TODO T83483191: review if map.getBufferSize() should be an int32_t or long 1 # TODO: Share code with last block 1 // TODO: (hramos) T52919652 Use ?ColorSchemeName once codegen supports union 1 // TODO T83483191: extract this code into a "template method" and reuse it for 1 // FIXME: this caches the bounds at app start, whatever those were, and then 1 // TODO: Get target OS and simulator from .tests.env 1 // TODO: move this file to shims/ReactNative (requires React update and sync) 1 // TODO: T57583139 1 * TODO: Callback types should be made equal (preferably 1 } // TODO: I think this is now always non-null by the time it reaches the 4 // TODO: Actually, we should reinitialize the state any time 1 // TODO: Is the JND optimization worth the added complexity? If this is 4 // TODO: This is copy/paste from the iOS implementation 2 // 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: Pool all of this. 2 var childContextTypes = type.childContextTypes; // TODO (bvaughn) Replace this behavior with an invariant() in the future. 4 var LayoutMask = Update | Callback | Ref; // TODO: Split into PassiveMountMask and PassiveUnmountMask 2 // TODO: handle error 1 // TODO: T62959168 account for RTL and paddingLeft when setting default 1 // FIXME: 1 null, // TODO: do we need to support FontFeatureSettings / fontVariant? 1 // TODO T83483191 Extend serialization of MapBuffer to add type checking 1 // TODO 10860938 Remove after figuring out crash 1 // TODO: buildRequest returns a cancellation block, but there's currently 1 // TODO: maybe not copy this for performance 2 // TODO: revisit this when we implement resuming. 4 // TODO: There are some edge cases that currently aren't supported. For example, if the size 1 // TODO: Maybe this should be done by the build system.... 1 // TODO (#5906496): this a nasty performance drain, but necessary 1 var fiber = nextEffect; // TODO: Should wrap this in flags check, too, as optimization 4 // TODO: remove "line-through" after deprecation 1 // TODO: This assumes that we're about to evaluate the component and process 4 // TODO: This should return S as the return type. But first, 1 var updatePayload = prepareUpdate(); // TODO: Type this specific to this type of component. 2 * TODO: implement support for SSL renegotiation. 1 // TODO: this probably could be made more efficient 1 // TODO: Lower frame duration on devices that are too slow to run consistently 1 // TODO: Only schedule updates if these values are non equal, i.e. it changed. 1 // 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: optimize so this can continue from where we last searched 1 // TODO: delete, this is no longer used from JS 1 // TODO constrain this better 1 var updatePayload = diff(oldProps, newProps, viewConfig.validAttributes); // TODO: If the event handlers have changed, we need to update the current props 2 // TODO: Rename to `tintColor` and make universal. 1 } // TODO: Probably should inline this back 4 // TODO: We can probably just avoid popping it instead and only 4 // TODO (StrictEffects) Should we set a marker on the root if it contains strict effects 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: add test to verify storage of sparse keys 1 *

TODO T7247021: Replace updateExtraData with generic update props mechanism after D2086999 1 // TODO: Delete this. 1 // TODO T71377544: delete this when the JS method is confirmed safe 1 RCTAssertParam(URL); // TODO: GH#774, prevent crashes when URL is erroneously nil 1 // TODO: The golden test portion of this test is very flakey. 1 // TODO: replace with a more robust solution 1 // TODO T83483191: Add tests 1 resetCurrentFiber(); // TODO: I found and added this missing line while investigating a 4 // TODO T74425739: previously, we did not do this check and `removeViewAt` would be executed 1 workInProgress.updateQueue = current.updateQueue; // TODO: Don't need to reset the flags here, because they're reset in the 4 // TODO: [ ] down- and cross-casting? (Possible?) 1 // TODO: see above - this request just populates the value of `currentState` 1 // TODO T83483191: extract memcpy calls into an inline function to simplify 1 // TODO: Only schedule updates if not prevDidTimeout. 1 // TODO: There's only a single type of callback: performSyncOnWorkOnRoot. So 4 // TODO: T65793557 Refactor sendAccessibilityEvent to use ViewCommands 1 FrameRateLogger.beginScroll(); // TODO: track all scrolls after implementing onScrollEndAnimation 1 /// TODO: optimization 1 // TODO: (hramos) T52919652 Use ?ColorSchemeName once codegen supports union 2 // TODO T68526882: Unify with Binding::UIManagerJavaDescriptor 1 // TODO: It should return its own class type. 1 // TODO: t7936714 merge these events 1 // TODO: move the acquire to the compare_exchange failure load after C++17 2 // TODO: T31905686 Create synchronous Event Beat 1 // TODO T83943316: Remove this IF once StaticViewConfigs are enabled by default 1 // TODO (T61325135): Remove C++ checks 3 * coalesce. (TODO: In the future it would be nice if unshare() were smart 1 // TODO T83483191: Enable CHECK_CONSISTENCY only in debug mode or test 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 (GitHub #818): Use console.error (as per 646605b90e666c4b0d1c1200a137eacf62b46f87) 1 ) || // TODO: In some cases, we'll end up checking if context has changed twice, 4 #TODO add via and then 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: optimization: 1 // FIXME: What if the suspended lanes are Idle? Should not restart. 4 // TODO T97216348: avoid transforming jsi into folly::dynamic 1 // TODO: support RTL 1 int surfaceId; // TODO: use SurfaceId type 1 // TODO: Fix issues with multiple properties affecting the same side. 1 // TODO: Remove the return type computations when clang 3.5 and gcc 5.1 are 1 // TODO:(xliu) remove these. 1 // TODO: Optimize slightly by comparing to root that fiber belongs to. 4 // TODO: Would be great to avoid adding this callback in case there are no active 1 // TODO T63008435: can these, and this feature, be removed entirely? 1 // TODO: force for a 'normal' touch is usually 1.0; 1 // // TODO constrain me 1 // TODO: Until we re-land skipUnmountedBoundaries (see #20147), this warning 4 // - Push, pop, empty, size functions. [TODO: Non-waiting and timed wait pop] 1 // TODO: t9053573 is tracking that this code should be shared 1 // TODO (bvaughn) Decide which additional types to expose here? 1 // TODO: could probably optimize this with SIMD 1 // TODO: noexcept calculation required through gcc-v4.9; remove once upgrading 1 * TODO: require this in packager, not in React #10932517 4 _workInProgress.flags |= ShouldCapture; // TODO: I think we can remove this, since we now use `DidCapture` in 2 return builder.add("($L)value", READABLE_ARRAY_TYPE); // TODO: use real type but needs import 1 // TODO: generate it from configure (`getconf LEVEL1_DCACHE_LINESIZE`) 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 var didWarnAboutUnmockedScheduler = false; // TODO Before we release concurrent mode, revisit this and decide whether a mocked 2 false, // TODO add this into local Data 2 // TODO: T40099998 implement recycling properly for Fabric Slider component 1 // TODO: dvacca ramanpreet unify this with the way "ComponentDescriptorFactory" is defined in Fabric 1 // TODO: https://github.com/microsoft/react-native-macos/issues/459 1 // TODO: Combine this check with the one in flushPassiveEFfectsImpl. We should 4 // TODO: Make this into an opaque type. 1 // TODO: We should probably always mark the root as suspended immediately 4 * (TODO mhorowitz #7128529: this exception behavior is not yet 1 // TODO: use RBCContext instead of all the separate arguments. 1 * TODO: t7467124 investigate if this can be removed 1 // TODO: don't allocate at all if size is zero 1 // TODO: Flip this flag and rename it something like "forceConcurrentByDefaultForTesting" 2 * TODO: use [NSArray getObjects:buffer] to reuse same fast buffer each time. 1 // TODO: The factoring of this phase could probably be improved. Consider 2 // TODO T62192299: remove when investigation is complete 1 // TODO: revisit this when we implement resuming. 8 // TODO: Replace JS Callinvoker with RuntimeExecutor. 1 // TODO: current can be non-null here even if the component 8 // TODO: Consider unifying this with how the root works. 4 * 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 * We rely on this only for marginal cases. TODO: could we 1 // TODO: Optimize this. Don't really have to copy all the data each time 1 // FIXME: use typed events 2 // TODO: Used for TextInput 1 // TODO: Handle invalid opcode 1 // TODO T97216348: remove folly::dynamic from InspectorData struct 1 // thread. TODO: T68258846 1 // TODO T83483191: header.count points to the next index 1 // Hide the Offscreen component that contains the primary children. TODO: 1 * TODO: See if caughtError and rethrowError can be unified. 4 var LayoutMask = Update | Callback | Ref | Visibility; // TODO: Split into PassiveMountMask and PassiveUnmountMask 2 '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 containerInfo, // TODO: figure out the API for cross-renderer implementation. 4 // TODO T69437152 @petetheheat - Delete this fork when Fabric ships to 100%. 3 // TODO: Retries should be allowed to expire if they are CPU bound for 4 // TODO: Implement the minimum necessary macros to build, don't pull over all of the glog data since we can't ship it in Devmain 1 // TODO: Re-use value conversion logic from existing impl, if possible. 1 // TODO (#5906496): Name could be more explicit - something like getBase64EncodedDataForTag:? 1 * TODO: Dispatch multiple changed touches in one event. The bubble path 2 // TODO we can expand this optimization to: default copyable and assignable 1 private boolean mBatchingControlledByJS = false; // TODO T71377544: delete 1 // TODO: Trim out _unittest suffix? Perhaps it is better to have 1 *

TODO: this method is a copy from ReactNativeRenderer.removeTouchesAtIndices and it needs to 1 // TODO (T58941612): Tracking for visibility should be done directly on this class. 1 // TODO: Revisit when FB issues their Main Thread Checker fix. 1 // TODO: specify error better! 1 // TODO T97384889: unify component names between JS - Android - iOS - C++ 1 *

TODO: T45627020 1 // TODO Warn if no hooks are used at all during mount, then some are used during update. 4 type === "RCTVirtualText"; // TODO: If this is an offscreen host container, we should reuse the 1 // TODO: Adopt showMenuFromRect (necessary for UIKitForMac) 2 accessibilityStates: true, // TODO: Can be removed after next release 1 // TODO: Move this type conversion to the event priority module. 8 // TODO: consider factoring separator stuff out of VirtualizedList into FlatList since it's not 1 // TODO: Could use a lock-free external map to fix this 1 // TODO T56559197: remove this condition when we migrate 100% to Fabric 1 // TODO :: This is broken for diffing as we run diffs asynchronously. 1 os << "[TODO: write debug string for " 1 // TODO: Using actual glog non-trivial as it uses Desktop only APIs 1 // TODO: Remove this after deleting `Touchable`. 1 // TODO (#5906496): for scrollviews (the primary use-case) we could 1 // TODO: integrity checks 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: Use actual glog 1 // TODO: Move out of the loop. This only happens for the first run. 8 // TODO: Only invalidate `node` if animated props or `style` change. In the 1 // TODO: The C++ standard indicates that std::generic_category() should be 1 * FIXME: using number to represent discrete scale numbers is fragile in essence because of 1 *

TODO: T63569137 Delete the method UIManagerModule.resolveRootTagFromReactTag 1