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 issue with computed props for functional components (#132)
Fixes issue #131.
The issue was that props that didn't have any defaults were still evaluated (since the prop was indeed referenced) and received { value: propName, computed: 'true' } as defaultProp. I also found an issue that imported values were not properly recognised by defaultprops for stateless components.
0 commit comments