Replies: 1 comment
-
Hi @Z-Farook, Thanks for writing and for letting me know about this. This is fixed now. Best, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @chrisminnick , here you are trying to do what is described on the page on page
195
react-js-foundations/book-code-listings/chapter06/RemindersClass/InputForm.js
Line 3 in e949503
"
Since all of the state of our application lives in the App component, converting the other components
is straightforward and simple. I’ll show how to convert the first InputForm to a class, and then the
same steps can be followed to convert the others:
import {Component} from 'react';
class InputForm extends Component {
change references to props to references to this.props:
....
....
"
But this is not correct here
RemindersClass
, as you are still using/showing the function component here!!Can you fix it, please?
Beta Was this translation helpful? Give feedback.
All reactions