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
fix: make animated work with arrow function component
When we pass arrow function component, it will throw error because
in `createAnimatedComponent` we check
`Component.prototype.isReactComponent` to check if it's component
created by `create-react-class`, but arrow function doesn't
have `.prototype` property. This commit additionally check if
`.prototype` exists.
0 commit comments