0
0
llucycodes42
The import statement returns an anonymous function that takes no arguments. The memo() function takes a single argument, which is a function that is called with no arguments. The return statement creates an element that contains the string "first" and ignores any other arguments passed to memo().
Library: react
Shortcut: rmc
import React, { memo } from 'react';
const ${1:filename} = memo(() => {
return (
<div>first</div>
)
})
export default ${1:filename}