fixtures/attribute-behavior/src/attributes.js (14 lines): - line 371: {name: 'contextMenu', read: getAttribute('contextmenu')}, // TODO: Read the property by rendering a menu with the ID. - line 740: {name: 'form', read: getAttribute('form')}, // TODO: Read the property by rendering into a form with i - line 879: // TODO: re-enable when we no longer compare to 15. - line 957: {name: 'inputMode', tagName: 'input', read: getAttribute('inputmode')}, // TODO: Should use property but it's not implemented in Chrome - line 969: read: getAttribute('is'), // TODO: This could check if this is an extended custom element but this is a controversial spec. - line 1099: {name: 'list', read: getAttribute('list')}, // TODO: This should match the ID of a datalist element and then read property. - line 1208: {name: 'mediaGroup', tagName: 'video', read: getAttribute('mediagroup')}, // TODO: Not yet implemented in Chrome. - line 1257: {name: 'on-click'}, // TODO: Check for event subscriptions - line 1258: {name: 'on-unknownevent'}, // TODO: Check for event subscriptions - line 1259: {name: 'onclick'}, // TODO: Check for event subscriptions - line 1260: {name: 'onClick'}, // TODO: Check for event subscriptions - line 1261: {name: 'onunknownevent'}, // TODO: Check for event subscriptions - line 1262: {name: 'onUnknownEvent'}, // TODO: Check for event subscriptions - line 1535: {name: 'results', tagName: 'input', read: getAttribute('results')}, // TODO: Should use property but it's not supported in Chrome. packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js (7 lines): - line 577: // TODO: we could potentially ignore early returns. - line 808: // TODO: also add an import? - line 810: // TODO: ideally we'd gather deps here but it would require - line 820: // TODO: What if the function needs to change on every render anyway? - line 823: // TODO: Why not report this at the dependency site? - line 1141: // TODO: consider preserving the comments or formatting? - line 1186: // TODO: Can this have a suggestion? fixtures/blocks/src/Router.js (5 lines): - line 18: // TODO: can't really import a server component on the client. - line 23: // TODO: use this for invalidation. - line 38: // TODO: cancel previous fetch? - line 63: // TODO: Here, There, and Everywhere. - line 64: // TODO: Instant Transitions, somehow. scripts/rollup/build.js (4 lines): - line 106: // TODO: Remove object spread from the source. Prefer Object.assign instead. - line 112: // TODO: Remove for...of from the source. It requires a runtime to be embedded. - line 114: // TODO: Remove array spread from the source. Prefer .apply instead. - line 117: // TODO: Remove array destructuring from the source. Requires runtime. packages/react/index.classic.fb.js (4 lines): - line 21: SuspenseList as unstable_SuspenseList, // TODO: Remove once call sights updated to SuspenseList - line 37: startTransition as unstable_startTransition, // TODO: Remove once call sights updated to startTransition - line 53: useDeferredValue as unstable_useDeferredValue, // TODO: Remove once call sights updated to useDeferredValue - line 67: useTransition as unstable_useTransition, // TODO: Remove once call sights updated to useTransition packages/react/index.modern.fb.js (4 lines): - line 21: SuspenseList as unstable_SuspenseList, // TODO: Remove once call sights updated to SuspenseList - line 36: startTransition as unstable_startTransition, // TODO: Remove once call sights updated to startTransition - line 51: useDeferredValue as unstable_useDeferredValue, // TODO: Remove once call sights updated to useDeferredValue - line 65: useTransition as unstable_useTransition, // TODO: Remove once call sights updated to useTransition scripts/jest/TestFlags.js (4 lines): - line 39: // TODO: Should "experimental" also imply "modern"? Maybe we should - line 50: FIXME: false, - line 51: TODO: false, - line 92: // TODO: Maybe we should error on conflicts? Or we could namespace scripts/rollup/build-all-release-channels.js (4 lines): - line 48: // TODO: We should inject the React version using a build-time parameter - line 196: // TODO: The npm version for experimental releases does not include the - line 256: // TODO: If the module is not in the version map, we should exclude it - line 287: // TODO: Remove this special case. packages/shared/ReactVersion.js (4 lines): - line 8: // TODO: this is special because it gets imported during build. - line 10: // TODO: 18.0.0 has not been released to NPM; - line 12: // When we next publish a release, update the matching TODO in backend/renderer.js - line 13: // TODO: This module is used both by the release scripts and to expose a version scripts/rollup/bundles.js (4 lines): - line 111: // TODO: use on WWW. - line 400: global: 'ReactFlightDOMRelayServer', // TODO: Rename to Writer - line 448: global: 'ReactFlightNativeRelayClient', // TODO: Rename to Reader - line 910: // TODO: it's awkward to create a bundle for this but if we don't, the package packages/shared/ReactFeatureFlags.js (3 lines): - line 31: // TODO: Finish rolling out in www - line 34: // TODO: Need to review this code one more time before landing - line 268: // TODO: clean up legacy once tests pass WWW. scripts/error-codes/transform-error-messages.js (3 lines): - line 59: // /* FIXME (minify-errors-in-prod): Unminified error message in production build! */ - line 82: // TODO: Since this only detects one of many ways to disable a lint - line 103: '! FIXME (minify-errors-in-prod): Unminified error message in production build!' scripts/jest/setupTests.js (2 lines): - line 16: // TODO: Stop using spyOn in all the test since that seem deprecated. - line 69: // TODO: Consider consolidating this with `yieldValue`. In both cases, tests packages/jest-react/src/internalAct.js (2 lines): - line 67: // TODO: This would be way simpler if 1) we required a promise to be - line 104: // TODO: Let's not support non-async scopes at all in our tests. Need to fixtures/blocks/src/server/ProfilePage.js (2 lines): - line 15: // TODO: Replace with asset reference. - line 18: // TODO: Router component? fixtures/blocks/src/server/App.js (2 lines): - line 14: // TODO: Replace with asset reference. - line 17: // TODO: Router component? scripts/perf-counters/src/portability.h (2 lines): - line 34: // TODO: does clang define __GNUC__ ? - line 133: // TODO: FIXME! Without this implemented properly, the JIT scripts/release/shared-commands/download-build-artifacts.js (2 lines): - line 34: // TODO: Consider staging the release in a different directory from the CI - line 42: // TODO: Rename release channel to `next` scripts/rollup/validate/index.js (2 lines): - line 17: // TODO: Should we lint them? - line 26: // TODO: Should we lint them? packages/react/src/ReactElementValidator.js (2 lines): - line 344: // TODO: Drop this when these are no longer allowed as the type argument. - line 484: // TODO: Drop this when these are no longer allowed as the type argument. scripts/jest/jest-cli.js (2 lines): - line 14: // TODO: These configs are separate but should be rolled into the configs above - line 254: // TODO: We could build this if it hasn't been built yet. packages/scheduler/src/forks/Scheduler.js (1 line): - line 26: // TODO: Use symbols? fixtures/legacy-jsx-runtimes/react-15/cjs/react-jsx-dev-runtime.development.js (1 line): - line 819: // TODO: Drop this when these are no longer allowed as the type argument. fixtures/blocks/src/server/Post.js (1 line): - line 13: // TODO: Replace with asset reference. packages/shared/ReactErrorUtils.js (1 line): - line 59: * TODO: See if caughtError and rethrowError can be unified. fixtures/blocks/src/server/Comments.js (1 line): - line 12: // TODO: Replace with asset reference. fixtures/legacy-jsx-runtimes/react-17/cjs/react-jsx-runtime.development.js (1 line): - line 1156: // TODO: Drop this when these are no longer allowed as the type argument. fixtures/devtools/standalone/index.html (1 line): - line 5: TODO List packages/react/src/ReactFetch.js (1 line): - line 28: // This might not be safe. TODO: warn for non-standard extensions differing. scripts/release/publish-commands/print-follow-up-instructions.js (1 line): - line 39: // FIXME: New build script does not output build-info.json. It's only used packages/shared/forks/ReactFeatureFlags.native-fb-dynamic.js (1 line): - line 19: // TODO: __VARIANT__ isn't supported for React Native flags yet. You can set the packages/react/src/ReactAct.js (1 line): - line 182: // TODO: In a future version, consider always requiring all `act` calls packages/react/src/jsx/ReactJSXElementValidator.js (1 line): - line 357: // TODO: Drop this when these are no longer allowed as the type argument. fixtures/legacy-jsx-runtimes/react-15/cjs/react-jsx-runtime.development.js (1 line): - line 823: // TODO: Drop this when these are no longer allowed as the type argument. packages/react/src/React.js (1 line): - line 74: // TODO: Move this branching into the other module instead and just re-export. packages/react/src/ReactNoopUpdateQueue.js (1 line): - line 91: * properties which is confusing. TODO: Expose pendingState or don't use it fixtures/concurrent/time-slicing/src/index.js (1 line): - line 105: // TODO: useTransition hook instead. scripts/jest/setupHostConfigs.js (1 line): - line 18: // TODO: Fix tests to not use ReactDOM.render or gate them. Then we can remove this. packages/scheduler/src/forks/SchedulerMock.js (1 line): - line 21: // TODO: Use symbols? scripts/jest/matchers/toWarnDev.js (1 line): - line 147: // TODO Decide whether we need to support nested toWarn* expectations. packages/react/src/ReactChildren.js (1 line): - line 45: * TODO: Test that a single child and an array with one item have the same key fixtures/legacy-jsx-runtimes/react-14/cjs/react-jsx-runtime.development.js (1 line): - line 818: // TODO: Drop this when these are no longer allowed as the type argument. packages/react/src/ReactHooks.js (1 line): - line 79: // TODO: add a more generic warning for invalid values. packages/shared/forks/consoleWithStackDev.www.js (1 line): - line 49: // TODO: don't ignore level and pass it down somewhere too. packages/react/src/BadMapPolyfill.js (1 line): - line 20: // TODO: Consider warning about bad polyfills fixtures/legacy-jsx-runtimes/react-14/cjs/react-jsx-dev-runtime.development.js (1 line): - line 814: // TODO: Drop this when these are no longer allowed as the type argument. scripts/jest/setupTests.www.js (1 line): - line 13: // TODO: Many tests were written before we started running them against the scripts/flow/runFlow.js (1 line): - line 14: // TODO: This generates all the renderer configs at once. Originally this was scripts/jest/devtools/setupTests.build-devtools-regression.js (1 line): - line 14: // TODO (luna) Refactor act in DevTools test utils to not depend scripts/perf-counters/src/perf-counters.cpp (1 line): - line 17: // TODO: Allow customizing recorded events scripts/perf-counters/src/jsc-perf.cpp (1 line): - line 87: // TODO: Allow customizing recorded events packages/react/src/ReactContext.js (1 line): - line 15: // TODO: Second argument used to be an optional `calculateChangedBits` fixtures/legacy-jsx-runtimes/react-16/cjs/react-jsx-runtime.development.js (1 line): - line 846: // TODO: Drop this when these are no longer allowed as the type argument. scripts/rollup/validate/eslintrc.umd.js (1 line): - line 22: // TODO: this is too permissive. packages/eslint-plugin-react-hooks/npm/index.js (1 line): - line 3: // TODO: this doesn't make sense for an ESLint rule. packages/scheduler/src/SchedulerPriorities.js (1 line): - line 12: // TODO: Use symbols? packages/use-sync-external-store/src/useSyncExternalStoreShimClient.js (1 line): - line 111: // TODO: Because there is no cross-renderer API for batching updates, it's fixtures/legacy-jsx-runtimes/react-17/cjs/react-jsx-dev-runtime.development.js (1 line): - line 1156: // TODO: Drop this when these are no longer allowed as the type argument. fixtures/blocks/src/client/Shell.js (1 line): - line 11: // TODO: Error Boundaries. packages/shared/forks/ReactFeatureFlags.www-dynamic.js (1 line): - line 53: // TODO: These flags are hard-coded to the default values used in open source. scripts/shared/inlinedHostConfigs.js (1 line): - line 127: isFlowTyped: false, // TODO: type it. fixtures/dom/src/toWarnDev.js (1 line): - line 162: // TODO Decide whether we need to support nested toWarn* expectations. fixtures/legacy-jsx-runtimes/react-16/cjs/react-jsx-dev-runtime.development.js (1 line): - line 842: // TODO: Drop this when these are no longer allowed as the type argument. packages/shared/forks/ReactFeatureFlags.www.js (1 line): - line 80: // TODO: www currently relies on this feature. It's disabled in open source. fixtures/legacy-jsx-runtimes/setupTests.js (1 line): - line 181: // TODO Decide whether we need to support nested toWarn* expectations. packages/shared/ReactTypes.js (1 line): - line 94: // TODO: figure out the API for cross-renderer implementation. fixtures/blocks/src/client/ProfileNav.js (1 line): - line 14: // TODO: Don't hardcode ID. scripts/release/shared-commands/get-build-id-for-commit.js (1 line): - line 57: // TODO: The location of the retry loop is a bit weird. We should scripts/jest/preprocessor.js (1 line): - line 42: // TODO: I have not verified that this actually works.