theTribe's Javascript with React code style is base on our javascript code style and the airbnb code style with the following changes/additions:
Function components should be declared as arrow functions.
Good:
import React from 'react';
const Component = (props) => (
<div />
);
Bad:
import React from 'react';
function Component (props) {
return <div />;
}
Why: This is enforced for consistency in all components declarations.