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
At the moment we are using defaultProps in multiple components. This is deprecated and will be removed in future React versions (see facebook/react#16210) which results in the following warning:
Warning: FV: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead
The text was updated successfully, but these errors were encountered:
exportconstMoorhenMapCard=(props)=>{const{ initialContour, initialRadius }={initialContour: 0.8,initialRadius: 13, ...props}// ...etc.}// And we can now remove this:MoorhenMapCard.defaultProps={initialContour: 0.8,initialRadius: 13}
At the moment we are using defaultProps in multiple components. This is deprecated and will be removed in future React versions (see facebook/react#16210) which results in the following warning:
The text was updated successfully, but these errors were encountered: