material-ui-table-edit
material-ui-table-edit copied to clipboard
Code style update
I am not sure how do you think about this @emkay Anyway there are some suggestion below:
- use
import
overrequire
- use
class extends React.Component
overReact.createClass
- separate the file over few components
- use import over require
My preference would be to use require. I don't really see any benefit in using import
. Happy to concede on this point though because it doesn't matter a ton to me either way.
- use class extends React.Component over React.createClass
Sure! I have grown to really like class
.
- separate the file over few components
👍