ReactPropTypes-Plugin icon indicating copy to clipboard operation
ReactPropTypes-Plugin copied to clipboard

Does not work when component is wrapped with memo

Open ginvaell opened this issue 4 years ago • 1 comments

The plugin does not recognize the component if it is wrapped with memo

example:

export const MyComponent = memo(props => {
    return (
        <div>{props.text}</div>
    );
})

ginvaell avatar Apr 23 '20 13:04 ginvaell

@ginvaell This will be fixed in the next version.

dpzxsm avatar Apr 26 '20 01:04 dpzxsm