Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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;