Skip to content

jdevaiya/react-js

Repository files navigation

React JS

React JS is a widely used JavaScript library for building interactive user interfaces, particularly single-page applications. It allows developers to create reusable components and efficiently manage UI updates as data changes.

Key Features

  • Component-Based Structure
  • Virtual DOM for Fast Rendering
  • Declarative Syntax
  • One-Way Data Flow

Quick Start

  1. Install Node.js and npm
  2. Create a React App:
    npx create-react-app my-app
    cd my-app
    npm start

Helpful Resources

Using Vite for React

npm create vite@latest my-vite-app -- --template react
cd my-vite-app
npm install
npm run dev

to install and config tailwindcss

npm install tailwindcss @tailwindcss/vite 

and update vite.config.js

import tailwindcss from '@tailwindcss/vite'

# and in plugins 
tailwindcss()

in index.css remove all text and write this

@import "tailwindcss"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published