Reactjs tutorial
Reactjs is javascript base single page website or application platform . it's has been designed from the start for gradual adoption, and you can use as little or as much React as you need. Whether you want to get a taste of React, add some interactivity to a simple HTML page, or start a complex React-powered app and also on .
React js application make on model view controller base including json file and runining and update on command line mode or terminal
How can install react js
Ract js installation for two types
First => CDN(content delivery network) link
Content delivery network links are two types
1- development- development is specifiy for space have to put on every character in memory like for this.
<script crossorigin src="https://unpkg.com/react@18/umd/react.development.js"></script>
<script crossorigin src="https://unpkg.com/react-dom@18/umd/react-dom.development.js"></script>
2-production-production is specifiy for nothing space any charactor in memory like for this.
<script crossorigin src="https://unpkg.com/react@18/umd/react.production.min.js"></script>
<script crossorigin src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js"></script>
Second => NPM(node package manager) mod.
node package manager is part of Nodejs software corporation before install any javascript framework or libraray in your computer.
This page describes some React toolchains which help with tasks like seen it geven below:
- Scaling to many files and components.
- Live-editing CSS and JS in development.
- Detecting common mistakes early.
- Optimizing the output for production.
- Using third-party libraries from npm.
Recommended Tool chains
- If you’re learning React or creating a new single-page app, use Create React App.
- If you’re building a component library or integrating with an existing codebase, try More Flexibl.
- If you’re building a static content-oriented website, try Gatsby.
- If you’re building a server-rendered website with Node.js, try Next.js.
Create React App
Create React App is the best way to start building a new single-page application for frontend development in Reactjs.
Create React App doesn’t handle backend or databases part it just creates a frontend part.
More Flexible Tool chains
The following toolchains offer more flexibility and choice. We recommend them to more experienced users:
- Parcel- is a fast, zero configuration web application bundler that works with React.
- Neutrino- combines the power of webpack with the simplicity of presets, and includes a preset for React apps and React components.
- Razzle -is a server-rendering framework that doesn’t require any configuration, but offers more flexibility than Next.js.
- Nx- is a toolkit for full-stack monorepo development, with built-in support for React, Next.js, Express, and many more.
Note => if you want use any javascript frame work before install nodejs becouse nodejs is server is inside layer or part of express.js
Syllabus take here..
Hello World
Introducing JSX
Rendering Elements
Components and Props
State and Lifecycle
Composition vs Inheritance
Conditional Rendering
Lists and Keys
Forms
Components and Props
Lifting State Up
Handling Events
Accessibility
Integrating with Other Libraries
Code-Splitting
JSX In Depth
Context
Error Boundaries
Fragments
Higher-Order Components
Optimizing Performance
Portals
Profiler
Strict Mode
React Without ES6
React Without JSX
Reconciliation
Render Props
Static Type Checking
Typechecking With PropTypes
Uncontrolled Components
Refs and the DOM
Forwarding Refs
Web Components
Hooks
Introducing Hooks
Rules of Hooks
Using the State Hook
Hooks API Reference
Using the Effect Hook
Building Your Own Hooks
Hooks at a Glance
Hooks FAQ
API referance
React
React.Component
ReactDOMServer
ReactDOM
DOM Elements
Test Utilities
Test Renderer
ReactDOMClient
JS Environment Requirements
SyntheticEvent
Glossary
Testing
Testing Overview
Testing Recipes
Testing Environments
No comments:
Please don't write any spam text or message