diff --git a/CHANGELOG.md b/CHANGELOG.md index b8fda5941314e..5ec024416d5b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -97,11 +97,15 @@ The most common changes can be codemodded with `npx types-react-codemod@latest p * JSX namespace in TypeScript: The global `JSX` namespace is removed to improve interoperability with other libraries using JSX. Instead, the JSX namespace is available from the React package: `import { JSX } from 'react'` * Better `useReducer` typings: Most `useReducer` usage should not require explicit type arguments. For example, - \-useReducer\\>(reducer) - \+useReducer(reducer) - or - \-useReducer\\>(reducer) - \+useReducer\(reducer) + ```diff + -useReducer>(reducer) + +useReducer(reducer) + ``` + or + ```diff + -useReducer>(reducer) + +useReducer(reducer) + ``` ## All Changes