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

fragment #89

Closed
mochagungh opened this issue Oct 31, 2019 · 1 comment
Closed

fragment #89

mochagungh opened this issue Oct 31, 2019 · 1 comment

Comments

@mochagungh
Copy link

mochagungh commented Oct 31, 2019

I think in react component section, better use fragment than tag div

like this :

import React, { Component } from 'react'

export default class FileName extends Component {
  render() {
    return <>$2</>
  }
}

what do you guys think?

@chillios-dev
Copy link

@mochagungh I think there is no need for that one as only me made upvote. Closing

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

No branches or pull requests

2 participants