Skip to content

Conversation

@pa-do
Copy link

@pa-do pa-do commented Jan 25, 2021

I found an error while executing an usage of a README.md. And I found what the problem is. It would be helpful to reflect this in the document.

@pa-do pa-do mentioned this pull request Jan 25, 2021
Copy link
Owner

@okonet okonet left a comment

Choose a reason for hiding this comment

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

I don't think it's correct. The example uses a class component but you replaced render method to return without updating the rest of it.

@pa-do
Copy link
Author

pa-do commented Jan 25, 2021

Then you need to check about ); at line 48.
There is no opening parenthesis here.

@okonet
Copy link
Owner

okonet commented Jan 25, 2021

Sorry I don't understand that. Maybe it is better to drop those examples for good since we have working examples in the styleguide?

@pa-do
Copy link
Author

pa-do commented Jan 25, 2021

If you think it's better, do it.

@okonet
Copy link
Owner

okonet commented Jan 25, 2021

Well, you reported an issue so I'd expect you to finish it. I'd be also interested in what you think would be better for developers like you.

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.

3 participants