bumanerdene / pomodoro-react

Pomodoro timer and task list manager, written in React. A best way to boost your productivity.
9 stars 1 forks source link

Use Extracting Components #2

Open woanversace opened 6 years ago

woanversace commented 6 years ago

https://github.com/bumanerdene/pomodoro-react/blob/bbe4c26280fc99328f8661a353819eb175d0cbd8/src/addTask.js#L1

Please check this link https://reactjs.org/docs/components-and-props.html#extracting-components

bumanerdene commented 6 years ago

You mean use class instead extracting components? like Not -> class App extends React.Component {} Use -> function App() {} am i right :)?