|
|
|
|
|
by beaconstudios
1701 days ago
|
|
the parent doesn't have to memoise the component though. You can do this: export default React.memo(function myComponent(props) {
// implementation
});
though you would likely want to set displayName before exporting, in reality. |
|