codesandbox-client
codesandbox-client copied to clipboard
_react.default.memo is not a function
🐛 bug report
Description of the problem
Hi, React API have function React.memo, but when I try to use it, I fail 😞
Example:
// TypeError _react.default.memo is not a function
const Test = React.memo(() => <div />);
Link to sandbox: link
Hey @Luchanso , React.memo() has been added in 16.6.0, and you're using 16.5.2 in the linked sandbox.
@lbogdan yeah, are you sure.
Yes it is working on 16.8.6 version