Open jerboa88 opened 2 years ago
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.
defaultProps
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.