react-string-replace
react-string-replace copied to clipboard
ReactNodeArray is deprecated
per react:
/**
* @deprecated Use either ReactNode[] if you need an array or Iterable<ReactNode> if its passed to a host component.
*/
Possible to refactor?
per react: /** * @deprecated Use either
ReactNode[]if you need an array orIterable<ReactNode>if its passed to a host component. */Possible to refactor?
You can use (<div>Hi!</div>) as React.Node[]
But I fixed that in my PR #81
#88