diff --git a/packages/element/README.md b/packages/element/README.md index 9ebf2a632d5019..b2d045eccd3a78 100755 --- a/packages/element/README.md +++ b/packages/element/README.md @@ -231,13 +231,13 @@ _Returns_ _Related_ -- +- ### memo _Related_ -- +- ### Platform @@ -266,7 +266,7 @@ const placeholderLabel = Platform.select( { _Related_ -- +- ### RawHTML @@ -308,7 +308,7 @@ _Returns_ _Related_ -- +- ### StrictMode @@ -318,7 +318,7 @@ Component that activates additional checks and warnings for its descendants. _Related_ -- +- ### switchChildrenNodeName @@ -347,25 +347,25 @@ _Related_ _Related_ -- +- ### useContext _Related_ -- +- ### useDebugValue _Related_ -- +- ### useDeferredValue _Related_ -- +- ### useEffect @@ -377,61 +377,61 @@ _Related_ _Related_ -- +- ### useImperativeHandle _Related_ -- +- ### useInsertionEffect _Related_ -- +- ### useLayoutEffect _Related_ -- +- ### useMemo _Related_ -- +- ### useReducer _Related_ -- +- ### useRef _Related_ -- +- ### useState _Related_ -- +- ### useSyncExternalStore _Related_ -- +- ### useTransition _Related_ -- +- diff --git a/packages/element/src/react.js b/packages/element/src/react.js index 14bd4a66d2e0de..c51f3f16b7fb10 100644 --- a/packages/element/src/react.js +++ b/packages/element/src/react.js @@ -140,7 +140,7 @@ export { Fragment }; export { isValidElement }; /** - * @see https://reactjs.org/docs/react-api.html#reactmemo + * @see https://react.dev/reference/react/memo */ export { memo }; @@ -150,22 +150,22 @@ export { memo }; export { StrictMode }; /** - * @see https://reactjs.org/docs/hooks-reference.html#usecallback + * @see https://react.dev/reference/react/useCallback */ export { useCallback }; /** - * @see https://reactjs.org/docs/hooks-reference.html#usecontext + * @see https://react.dev/reference/react/useContext */ export { useContext }; /** - * @see https://reactjs.org/docs/hooks-reference.html#usedebugvalue + * @see https://react.dev/reference/react/useDebugValue */ export { useDebugValue }; /** - * @see https://reactjs.org/docs/hooks-reference.html#usedeferredvalue + * @see https://react.dev/reference/react/useDeferredValue */ export { useDeferredValue }; @@ -175,72 +175,72 @@ export { useDeferredValue }; export { useEffect }; /** - * @see https://reactjs.org/docs/hooks-reference.html#useid + * @see https://react.dev/reference/react/useId */ export { useId }; /** - * @see https://reactjs.org/docs/hooks-reference.html#useimperativehandle + * @see https://react.dev/reference/react/useImperativeHandle */ export { useImperativeHandle }; /** - * @see https://reactjs.org/docs/hooks-reference.html#useinsertioneffect + * @see https://react.dev/reference/react/useInsertionEffect */ export { useInsertionEffect }; /** - * @see https://reactjs.org/docs/hooks-reference.html#uselayouteffect + * @see https://react.dev/reference/react/useLayoutEffect */ export { useLayoutEffect }; /** - * @see https://reactjs.org/docs/hooks-reference.html#usememo + * @see https://react.dev/reference/react/useMemo */ export { useMemo }; /** - * @see https://reactjs.org/docs/hooks-reference.html#usereducer + * @see https://react.dev/reference/react/useReducer */ export { useReducer }; /** - * @see https://reactjs.org/docs/hooks-reference.html#useref + * @see https://react.dev/reference/react/useRef */ export { useRef }; /** - * @see https://reactjs.org/docs/hooks-reference.html#usestate + * @see https://react.dev/reference/react/useState */ export { useState }; /** - * @see https://reactjs.org/docs/hooks-reference.html#usesyncexternalstore + * @see https://react.dev/reference/react/useSyncExternalStore */ export { useSyncExternalStore }; /** - * @see https://reactjs.org/docs/hooks-reference.html#usetransition + * @see https://react.dev/reference/react/useTransition */ export { useTransition }; /** - * @see https://reactjs.org/docs/react-api.html#starttransition + * @see https://react.dev/reference/react/startTransition */ export { startTransition }; /** - * @see https://reactjs.org/docs/react-api.html#reactlazy + * @see https://react.dev/reference/react/lazy */ export { lazy }; /** - * @see https://reactjs.org/docs/react-api.html#reactsuspense + * @see https://react.dev/reference/react/Suspense */ export { Suspense }; /** - * @see https://reactjs.org/docs/react-api.html#reactpurecomponent + * @see https://react.dev/reference/react/PureComponent */ export { PureComponent };