formik-wizard
formik-wizard copied to clipboard
React warning Step component
Hi all,
Could you please have a look at this?
Warning: The <Step /> component appears to be a function component that returns a class instance. Change Step to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. Step.prototype = React.Component.prototype
. Don't use an arrow function since it cannot be called with new
by React.
Kind Regards, Brecht
Hey there, @brechtarnou! Can you provide more context, please?