From 1c13a7256e7c55b3144d74e648daa8c6f62eec86 Mon Sep 17 00:00:00 2001 From: Adam Silverstein Date: Mon, 25 Mar 2019 08:13:08 -0600 Subject: [PATCH] README from master --- packages/element/README.md | 56 ++++++++++++++++++++------------------ 1 file changed, 30 insertions(+), 26 deletions(-) diff --git a/packages/element/README.md b/packages/element/README.md index b98823e3b40fad..1985045799bea0 100755 --- a/packages/element/README.md +++ b/packages/element/README.md @@ -239,16 +239,6 @@ Checks if an object is a valid WPElement `boolean`: true if objectToTest is a valid WPElement and false otherwise. -### lazy - -[src/index.js#L1-L1](src/index.js#L1-L1) - -The React.lazy function lets you render a dynamic import as a regular component. - -**Parameters** - -- **loadFunction** `function`: A function that must call a dynamic import(). This must return a Promise which resolves to a module with a default export containing a React component. - ### RawHTML [src/index.js#L5-L5](src/index.js#L5-L5) @@ -299,12 +289,6 @@ Serializes a React element to string. Component that activates additional checks and warnings for its descendants. -### Suspense - -[src/index.js#L1-L1](src/index.js#L1-L1) - -Component to do code-splitting by wrapping a dynamic import. - ### switchChildrenNodeName [src/index.js#L1-L1](src/index.js#L1-L1) @@ -334,61 +318,81 @@ Removes any mounted element from the target DOM node. [src/index.js#L1-L1](src/index.js#L1-L1) -Make React Hooks available +**Related** + +- ### useContext [src/index.js#L1-L1](src/index.js#L1-L1) -Make React Hooks available +**Related** + +- ### useDebugValue [src/index.js#L1-L1](src/index.js#L1-L1) -Make React Hooks available +**Related** + +- ### useEffect [src/index.js#L1-L1](src/index.js#L1-L1) -Make React Hooks available +**Related** + +- ### useImperativeHandle [src/index.js#L1-L1](src/index.js#L1-L1) -Make React Hooks available +**Related** + +- ### useLayoutEffect [src/index.js#L1-L1](src/index.js#L1-L1) -Make React Hooks available +**Related** + +- ### useMemo [src/index.js#L1-L1](src/index.js#L1-L1) -Make React Hooks available +**Related** + +- ### useReducer [src/index.js#L1-L1](src/index.js#L1-L1) -Make React Hooks available +**Related** + +- ### useRef [src/index.js#L1-L1](src/index.js#L1-L1) -Make React Hooks available +**Related** + +- ### useState [src/index.js#L1-L1](src/index.js#L1-L1) -Make React Hooks available +**Related** + +-