react-todo-functional
v0.1.0
Published
The demo app to show implementation of Flyy WEBSDK.
Downloads
2
Readme
Flyy WebSK 2.0
The demo app to show implementation of Flyy WEBSDK.
This project has been deployed and can be seen at this link.
Some notes about functional components in React
- Functional components are good for presentational components (components that are stateless are just UI elements)
- Functional components receive props as arguments and return JSX that is to be rendered. (We destructure the props in arguments using ES6 object destrucuturing for convenience)
- They are also easier to work with (considering you don't have to worry about
this
) and easier to understand.
Earlier, functional components were strictly stateless, but now, we can use React Hooks to implement the state functionality in functional components.
Available Scripts
This project was bootstrapped with create-react-app. In the project directory, you can run:
npm start
Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits. You will also see any lint errors in the console.