Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/janluksoft/react_html_onefile
Simple React elements in one .html file
https://github.com/janluksoft/react_html_onefile
babel css3 hooks html5 javascript jsx-syntax react reactjs
Last synced: 5 days ago
JSON representation
Simple React elements in one .html file
- Host: GitHub
- URL: https://github.com/janluksoft/react_html_onefile
- Owner: janluksoft
- Created: 2024-01-08T17:58:07.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-01-08T22:48:06.000Z (11 months ago)
- Last Synced: 2024-01-31T22:25:07.015Z (10 months ago)
- Topics: babel, css3, hooks, html5, javascript, jsx-syntax, react, reactjs
- Language: HTML
- Homepage:
- Size: 59.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple React elements in one html file
This page demonstrates using React with no build tooling, no use NPM. React elements are composed of [Class Component (state full)] and [Function Component (state less)]. The [Function Component] uses the Hook technique.
- React without NPM;
- Project in one .html file;
- Defined and used 4 React components;
- Used Class_Component, Function_Component and components with JSX syntax;
- Adding React elements to a regular html webpage;
![](jpg/React_elements.jpg)## Details
- React ver.18 sources are linked online from the internet;
- The Babel ver.5.8 compiler for JSX syntax is linked online from the Internet;
- Project written in Visual Studio Code;