Summary.
An interface based on Bootstrap 4.6 for counting items implemented with React.
React is a lightweight library for building fast and interactive user interfaces. Unlike Angular, which is a framework (or a complete solution), React is essentially a ‘view library’. It only takes care of the view or what is rendered in the DOM. It doesn’t have an opinion about other aspects of an app such as routing, calling HTTP services, etc. For those concerns, you need to use other libraries. This means you get the freedom to choose the libraries that you’re familiar with or prefer.This project was bootstrapped with Create React App:
- yarn create react-app counter-app
Important remark: using React without nodejs
is a great way to try React, but it's not suitable for production.
It slowly compiles JSX
with Babel in the browser, and uses a large development build of React.
- Read this section for a production-ready setup with JSX.
- In a larger project, you can use an integrated toolchain that includes JSX instead.
- You can also use React without JSX, in which case you can remove Babel.
- Or even use a CDN to make your life incredibly easier, by avoiding messing around with the React ecosystem.
Usage:
- Since:
- 08/10/2021
- Source:
- See:
-
- source
- package.json
- link
- link production
- link node
- https://create-react-app.dev
- https://dev.to/lowla/create-react-app-with-a-previous-version-of-react-4g03
- https://reactjs.org/docs/react-dom.html
- https://reactjs.org/docs/react-api.html#createelement
- https://learn2torials.com/a/react-state-and-props
- https://github.com/fishstick22/mastering-react-mosh
- https://medium.com/swlh/modern-react-development-but-without-200-mb-of-node-modules-69d8ca01eacf
- https://ustechportal.com/error-error-0308010c-digital-envelope-routines-unsupported/