-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update MVC lesson example, add MDN link to MVC #727
Conversation
lessons/module-3/mvc.md
Outdated
} | ||
} | ||
function App() { | ||
const [count, setCount] = useSate(0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just missing a 't' in state here :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! ✅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this Scott! I made 2 comments on the code example.
Could you also edit the very end of the lesson please?
- In the Wrapping it up section, can you please remove "How does Redux play into this? Work on this for 10 minutes, then we’ll reconvene."
- In the References section, can you please stack the two links so its clear there are two?
lessons/module-3/mvc.md
Outdated
@@ -63,35 +63,31 @@ for this pattern, you will find it all over the place. | |||
 | |||
|
|||
Take a look at [the docs on MDN](https://developer.mozilla.org/en-US/docs/Glossary/MVC) if you'd like to see it explained in another way. | |||
|
|||
### Ok, by why would I ever use it? | |||
|
|||
You've already been using it! Let's consider a super simple example: | |||
|
|||
```js | |||
import React, { Component } from 'react'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should be able to remove the {Component} import here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅
Thanks Heather! I made those changes and I'll merge it now! |
This PR addressed issue #710
Summary of changes needed:
Changes Made:
Questions