Closed adonis-work closed 7 years ago
JavaScript Standard Style prefers single quotes.
When testing with text below JSX gets converted to double quotes, the rest of the code gets single quotes.
const GoogleLoginButton = React.createClass({ componentDidMount: () => { window.addEventListener('google-loaded', renderGoogleLoginButton) renderGoogleLoginButton() }, render: () => <div id="gmailLogin" /> })
JavaScript Standard Style prefers single quotes.
When testing with text below JSX gets converted to double quotes, the rest of the code gets single quotes.