Skip to content

Conversation

@hmeissner
Copy link
Contributor

I think it might be a bit better if we swap

return <div className='COMPONENT_NAME' />

to

return (
  <div className='COMPONENT_NAME>
    COMPONENT_NAME
  </div>
)

in the classic and presentational examples.

Most people will probably have their returns more complex than a single div so this should save some extra seconds.

@CVarisco
Copy link
Owner

Good idea man!
Thanks a lot @hmeissner

@CVarisco CVarisco merged commit 22d5c54 into CVarisco:master Nov 11, 2017
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