1.1.1 • Published 3 years ago
simple-jsx-react v1.1.1
A simple CLI tool for creating a basic React app
Installation
npm i simple-jsx-react --saveUsage
Init app
npx simple-jsx-react APP-NAMEcd APP-NAMERun code
npm run devESM Usage
I have included a jquery-like way of selecting elements in the dom
Import
import $ from "simple-jsx-react"Usage
const body = $("body");
const root = $("#root");
const buttons = $("button");
const containers = $(".containers");