Description
React defaultProps component property will be depreciated in the future so we should replace this with default parameters instead as per https://stackoverflow.com/questions/47774695/react-functional-component-default-props-vs-default-parameters. This may have performance benefits as well.
Description
React
defaultPropscomponent property will be depreciated in the future so we should replace this with default parameters instead as per https://stackoverflow.com/questions/47774695/react-functional-component-default-props-vs-default-parameters. This may have performance benefits as well.