Summary: 442 instances, 241 unique Text Count // TODO: Defer siblings if we're not at the right index for this slot. 4 // TODO: This is sometimes out of sync with rootWithPendingPassiveEffects. 2 // TODO: Include link to relevant documentation page. 2 // TODO: Because there is no cross-renderer API for batching updates, it's 1 // TODO: if it was but can no longer be simple, 2 // TODO: We have several of these arguments that are conceptually part of the 2 // FIXME: Slipped past code review. This is not a safe mutation: 2 // TODO: Optimize this to use the OffscreenComponent fiber instead of 2 {name: 'results', tagName: 'input', read: getAttribute('results')}, // TODO: Should use property but it's not supported in Chrome. 1 // TODO: Don't need to accumulate this. Instead, we can remove renderLanes 2 // TODO: This is a temporary solution that allowed us to transition away 4 // TODO: Not sure if this is the desired semantics, but it's what we 2 // TODO: Experiencing an error where oldProps is null. Suggests a host 2 // TODO: Allow customizing recorded events 2 // TODO: Move the reset at in beginWork out of the common path so that 2 // TODO: This gets called every time we yield. We can optimize by storing 2 // TODO: Add "unstable_" prefix? 2 // TODO: __VARIANT__ isn't supported for React Native flags yet. You can set the 1 {name: 'on-unknownevent'}, // TODO: Check for event subscriptions 1 // TODO: This will still suspend a synchronous tree if anything 2 // TODO: Remove `callback` when we delete legacy mode. 2 // TODO: This is left over from the effect list implementation, where we had 2 // When we next publish a release, update the matching TODO in backend/renderer.js 1 // TODO: The location of the retry loop is a bit weird. We should 1 // TODO: also add an import? 1 // TODO: popHydrationState 2 // TODO: FIXME! Without this implemented properly, the JIT 1 // TODO: Split the update API as separate for the props vs. children. 2 // TODO: Move to `commitPassiveUnmountInsideDeletedTreeOnFiber` instead. 2 // TODO: Clean this up once we turn on the string ref warning for 2 // TODO: add a more generic warning for invalid values. 1 // TODO This time should be the time at which the server rendered response that is 2 {name: 'onUnknownEvent'}, // TODO: Check for event subscriptions 1 // TODO: Type the updateQueue to be specific to host components. 2 // TODO (Offscreen) Also check: subtreeFlags & LayoutMask 2 // TODO: Can this have a suggestion? 1 // TODO: If the module is not in the version map, we should exclude it 1 // TODO: Router component? 2 * properties which is confusing. TODO: Expose pendingState or don't use it 1 // TODO (bvaughn) Replace this behavior with an invariant() in the future. 2 // TODO: Consider warning in this path if a fallback timer is not scheduled. 2 // TODO: Because we don't have a work-in-progress, this will add the 2 // TODO: We can move this to the passive phase once we add a pre-commit 2 // TODO: this is too permissive. 1 FIXME: false, 1 * TODO: Test that a single child and an array with one item have the same key 1 // TODO: This would be way simpler if 1) we required a promise to be 1 // TODO: We only check `didTimeout` defensively, to account for a Scheduler 2 {name: 'inputMode', tagName: 'input', read: getAttribute('inputmode')}, // TODO: Should use property but it's not implemented in Chrome 1 // TODO: These flags are hard-coded to the default values used in open source. 1 // TODO: I found and added this missing line while investigating a 2 // TODO: Warn in strict mode if getDerivedStateFromError is 2 // TODO: Is this necessary anymore? The only user code that runs in this 2 // TODO: Move to commitPassiveMountEffects 4 // TODO: If we move the `hadNoMutationsEffects` call after `bubbleProperties` 2 // TODO: re-enable when we no longer compare to 15. 1 // TODO: In some cases, we'll end up checking if context has changed twice, 2 // TODO: Type this specific to this type of component. 2 // TODO: Does Cache work in legacy mode? Should decide and write a test. 2 // TODO: Move this to FiberRoot constructor 2 // TODO: use this for invalidation. 1 // TODO: It's possible that even a concurrent render may never have yielded 2 // TODO: Temporary until we confirm this warning is not fired. 2 // TODO: Might be better if `flushPassiveEffects` did not automatically 2 // TODO: Consolidate with `isInterleavedUpdate` check 2 // TODO: Don't need to reset the flags here, because they're reset in the 2 // TODO This way of resetting the error boundary state is a hack. 2 // TODO: Remove array spread from the source. Prefer .apply instead. 1 // TODO: Should we we lint them? 1 // TODO: Finish rolling out in www 2 // TODO: Consider calling `unwindWork` to pop the contexts. 2 // TODO: revisit this when we implement resuming. 4 {name: 'on-click'}, // TODO: Check for event subscriptions 1 // TODO: Move out of the loop. This only happens for the first run. 4 // TODO: Type this specific to this type of component. 2 // TODO: When we delete legacy mode, we should make this error argument 2 // TODO: we could potentially ignore early returns. 1 // TODO: Probably should inline this back 2 // TODO: This function is supposed to be non-recursive. 2 read: getAttribute('is'), // TODO: This could check if this is an extended custom element but this is a controversial spec. 1 // TODO: Only traverse subtree if it has a PassiveStatic flag. (But, if we 2 // TODO: Once we add back resuming, we should check if the children are 2 // TODO: Should we lint them? 1 // TODO (Offscreen) Check: flags & LayoutStatic 2 // TODO (Offscreen) Check: flags & RefStatic 2 // TODO: Find a more efficient way to do this. 2 // TODO: Is the JND optimization worth the added complexity? If this is 2 {name: 'list', read: getAttribute('list')}, // TODO: This should match the ID of a datalist element and then read property. 1 // TODO: Let's not support non-async scopes at all in our tests. Need to 1 // TODO: don't ignore level and pass it down somewhere too. 1 {name: 'onclick'}, // TODO: Check for event subscriptions 1 // TODO: Consider warning if the refresh is at discrete priority, or if we 2 // TODO: Fix tests to not use ReactDOM.render or gate them. Then we can remove this. 1 // TODO: This no longer makes any sense. We already wrap the mutation and 2 // TODO: Maybe there's a better way to report this. 2 // TODO: Probably should refactor `beginWork` to split the bailout 2 // FIXME: New build script does not output build-info.json. It's only used 1 // TODO: These configs are separate but should be rolled into the configs above 1 // TODO: Replace with asset reference. 4 // TODO: useTransition hook instead. 1 // TODO (Offscreen) Check: subtreeFlags & LayoutStatic 4 // TODO: We use `childLanes` as a heuristic for whether there is 2 // TODO: This module is used both by the release scripts and to expose a version 1 // TODO: This assumes that we're about to evaluate the component and process 2 // TODO: this doesn't make sense for an ESLint rule. 1 // TODO: Special case idle priority? 2 // TODO: Temporary field. Will remove this by storing a map of 2 // TODO: Move this to passive phase 2 // TODO: Warn in a future release. 2 // TODO: Restructure so we never read values from the instance. 2 // TODO: For the shouldClone case, this could be micro-optimized a bit by 2 // TODO: We can probably just avoid popping it instead and only 2 // TODO (StrictEffects) Should we set a marker on the root if it contains strict effects 2 // TODO: it's awkward to create a bundle for this but if we don't, the package 1 {name: 'onunknownevent'}, // TODO: Check for event subscriptions 1 // TODO: Should wrap this in flags check, too, as optimization 2 global: 'ReactFlightNativeRelayServer', // TODO: Rename to Writer 1 // TODO: Check if we're inside an Offscreen subtree that disappeared 2 // TODO Clear this data once all pending hydration work is finished. 2 // TODO: Should wrap this in flags check, too, as optimization 2 // TODO: Check if fiber has a PassiveStatic flag 2 // TODO (Offscreen) Check: flags & (RefStatic | LayoutStatic) 2 // TODO: Pass `current` as argument 2