MDN React Tutorials #3: Componentizing#30514
MDN React Tutorials #3: Componentizing#30514chrisdavidmills merged 28 commits intomdn:mainfrom mxmason:ej/react-rewrite-3
Conversation
|
Preview URLs External URLs (1)URL:
(comment last updated: 2023-12-21 11:16:06) |
mxmason
left a comment
There was a problem hiding this comment.
A gift just for you, @chrisdavidmills! This file has undergone some light editing apart from just changing .js to .jsx. I've tried to call out things of note.
files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/react_components/index.md
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/react_components/index.md
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/react_components/index.md
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/react_components/index.md
Outdated
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/react_components/index.md
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/react_components/index.md
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/react_components/index.md
Show resolved
Hide resolved
chrisdavidmills
left a comment
There was a problem hiding this comment.
More fabulous work, thank you @mxmason! Some comments for you to chew on.
files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/react_components/index.md
Outdated
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/react_components/index.md
Outdated
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/react_components/index.md
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/react_components/index.md
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/react_components/index.md
Outdated
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/react_components/index.md
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/react_components/index.md
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/react_components/index.md
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/react_components/index.md
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/react_components/index.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Chris Mills <[email protected]>
Co-authored-by: Chris Mills <[email protected]>
mxmason
left a comment
There was a problem hiding this comment.
Back to you, @chrisdavidmills!
I addressed your notes (I think), plus a couple of other small changes – removing props from the signature of FilterButton and wrapping <FilterButton /> in code code markup in its heading, among other changes.
files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/react_components/index.md
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/react_components/index.md
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/react_components/index.md
Show resolved
Hide resolved
files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/react_components/index.md
Outdated
Show resolved
Hide resolved
|
@chrisdavidmills I'm removing myself as a reviewer - I know nothing about React. |
chrisdavidmills
left a comment
There was a problem hiding this comment.
Lovely work @mxmason! I made a couple of very small tweaks to push this over the finish line; I thought you'd appreciate that rather than passing it back to you for another round.
With that, I'm approving this, and you can move on to the next one.
* chore: .js --> .jsx * chore: remove unnecessary react import * chore: clean up todo markup * chore: remove undefined return warning * chore: tweak props rendering instructions * chore: better explain id collision * chore: index.jsx --> main.jsx * chore: use optional chaining consistently * chore: use implicit boolean for completed * nit: a word * chore: remove default react import * chore: remove unused props * chore: edit jsx note * chore: use brace expansion in bash command * chore: add eslint note * chore: fix todo code snippet * chore: edit final import instructions * Small text tweaks * chore: apply suggestions from code review Co-authored-by: Chris Mills <[email protected]> * chore: apply suggestions from code review Co-authored-by: Chris Mills <[email protected]> * chore: update "make a todo" instructions * clean up "id please" section * chore: clean up "tasks as data" * chore: small cleanup * Small grammar fix * Small tweak --------- Co-authored-by: Chris Mills <[email protected]>
Description
Following #30453 as part of mdn/mdn#474, this PR makes some modifications to the third page in our "Getting started with React" tutorial.
Do not merge this until #30453 has been merged and you have updated this PR with mdn main and checked for breakages.