惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

H
Hackread – Cybersecurity News, Data Breaches, AI and More
U
Unit 42
Vercel News
Vercel News
Martin Fowler
Martin Fowler
云风的 BLOG
云风的 BLOG
爱范儿
爱范儿
MongoDB | Blog
MongoDB | Blog
J
Java Code Geeks
F
Fortinet All Blogs
MyScale Blog
MyScale Blog
C
Check Point Blog
N
Netflix TechBlog - Medium
Microsoft Azure Blog
Microsoft Azure Blog
aimingoo的专栏
aimingoo的专栏
博客园_首页
WordPress大学
WordPress大学
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
IT之家
IT之家
Last Week in AI
Last Week in AI
罗磊的独立博客
大猫的无限游戏
大猫的无限游戏
Jina AI
Jina AI
V
Visual Studio Blog
小众软件
小众软件

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
React Js Basics
Sivakumar Ma · 2026-05-14 · via DEV Community

Sivakumar Mathiyalagan

What is library and difference between library and framework?

Library is a collection of helper modules , classes , objects , functions , pre-written code , etc. A bunch of code packed together that can be used repeatedly is known as Library
A library is easy to be replaced with another library

A framework is a supporting structure that gives shape to your code.
It comprises of lot of APIs , compilers , support programs , libraries etc
It is difficult to replace frameworks

Why React?

React is a free, open-source JavaScript library for building User Interfaces. It is used to build single-page applications and allows you to create reusable UI components
React is a JavaScript library developed by Facebook that allows you to write user interfaces and create apps

Single Page Application
A Single Page Application (SPA) is a web app that loads content dynamically without refreshing the whole page. It uses JavaScript to update only the required parts of the screen based on user actions. This creates a smooth, fast, and app-like user experience.

Eliminates full page reloads for better performance
Sends and updates only the necessary data from the server
Provides a more responsive and seamless interface

NPM(Node Package Manager)
NPM (Node Package Manager) is the default package manager for Node.js. It helps manage project dependencies, scripts, and third-party libraries, and is automatically installed when you install Node.js.

It is mainly used to manage packages or modules, these are pre-built pieces of code that extend the functionality of your NodeJS application.
The NPM registry hosts millions of free packages that you can download and use in your project.
NPM is installed automatically when you install NodeJS, so you don’t need to set it up manually

we can create react file using npm. It has multiple framework and it enable us to choose the framework that suits for us. When the file is being created it also create a folder called node_modules which has all the supporting files for the code to use

What is Build Tool?

Frameworks like React use advanced features that browsers don’t natively support
React relies on JSX (JavaScript XML), which needs to be transpiled into regular JavaScript(TBD JSX)
build tool is a software utility that automates the process of converting your development code JSX into an optimized version that a web browser can actually understand and run efficiently

Vite:
Vite (French for "fast") has replaced older tools like Create React App (CRA) as the industry standard due to its speed and modern approach