You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Props not being extracted when using both memo and forward ref #201
Activity
danieldelcore commentedon Jul 26, 2021
Yeah that's a bit of a weird one.
I think case one and two both work without the
memo. We'll need to add some additional smarts to get it to work with it though.This should work if you wrap a typed
forwardRefin an untypedmemo. Not ideal, just sharing incase you were blocked 😄(https://github.com/atlassian/extract-react-types/blob/master/packages/extract-react-types/converters-typescript.test.js#L656)