Skip to content
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

Rendering check and Meaningful Words (#Issues 1 and 8) #16

Merged
merged 4 commits into from
Jan 15, 2020
Merged

Conversation

man1han
Copy link
Collaborator

@man1han man1han commented Jan 7, 2020

#1
I started with this because I don't really know much of React.
#8
I did this one because I was interested in playing around more. Might try to do the others in my free time.

Copy link
Member

@mjrb mjrb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps we shouldn't be returning the result of console.log

challenge/src/strings.json Outdated Show resolved Hide resolved
challenge/src/App.jsx Show resolved Hide resolved
@man1han
Copy link
Collaborator Author

man1han commented Jan 9, 2020 via email

@mjrb
Copy link
Member

mjrb commented Jan 15, 2020

@man1han what you put technically works, it's just I would have put the console.log before the return call in between lines 12 and 13. Mostly because console.log doesn't return anything and it's a bit more straight forward if the only thing the render function is returning is jsx. I'm actually kinda surprised this worked.
If you make that change I'll merge it in today

@mjrb mjrb merged commit 3f465f6 into master Jan 15, 2020
@mjrb mjrb deleted the man1han branch January 15, 2020 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants