{"id":27163483,"url":"https://github.com/punitkatiyar/react-master-guide","last_synced_at":"2025-04-09T01:49:18.132Z","repository":{"id":155958138,"uuid":"439345094","full_name":"punitkatiyar/react-master-guide","owner":"punitkatiyar","description":"A JavaScript library for building user interfaces 🏆 it is declarative .React is a JavaScript library for building user interfaces","archived":false,"fork":false,"pushed_at":"2025-03-31T12:25:25.000Z","size":662,"stargazers_count":53,"open_issues_count":0,"forks_count":34,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-31T13:29:01.838Z","etag":null,"topics":["create-react-app","react","react-hooks","react-redux","react-router","react-router-dom","reactjs"],"latest_commit_sha":null,"homepage":"https://punitkatiyar.github.io/react-master-guide/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/punitkatiyar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-17T13:38:23.000Z","updated_at":"2025-03-31T12:25:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"55343bbe-7f91-4588-8db0-94e5256e84f3","html_url":"https://github.com/punitkatiyar/react-master-guide","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punitkatiyar%2Freact-master-guide","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punitkatiyar%2Freact-master-guide/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punitkatiyar%2Freact-master-guide/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punitkatiyar%2Freact-master-guide/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/punitkatiyar","download_url":"https://codeload.github.com/punitkatiyar/react-master-guide/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247959650,"owners_count":21024837,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["create-react-app","react","react-hooks","react-redux","react-router","react-router-dom","reactjs"],"created_at":"2025-04-09T01:49:17.575Z","updated_at":"2025-04-09T01:49:18.120Z","avatar_url":"https://github.com/punitkatiyar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Master Guide\n\n## What Is React ?\n\n**A JavaScript library for building user interfaces \u0026#127942; it is declarative** \n\n- **Virtual DOM:** React uses a virtual representation of the DOM, which is more efficient than directly manipulating the actual DOM.\n\n- **State management:** React provides a way to manage state with in components, which makes it easier to build complex UIs.\n\n- **JSX:** React uses a syntax extension called JSX, which allows you to write HTML-like code within your JavaScript files.\n\n\n\n## Setup React App On Local Machine \n\n\u003e Install Node First https://nodejs.org/en/\n\n## Basic of node and npm\n\n- node : javascript runtime enviroment\n- npm : node package manager\n\n## node and npm command list and version\n\n- node -v\n- npm -v  \n- npm install -g npm@latest \n\n## setup react app using vite (Next Generation Frontend Tooling)\n\n```\nnpm create vite@latest : create template\ncd tech-unit \nnpm install  // install react package\nnpm run dev  // to run the code\n```\n\n## JSX \n\n**JSX (JavaScript XML) is a syntax extension used in React to describe the structure of user interface components in a more concise and intuitive way. It allows you to write HTML-like code directly in your JavaScript files, which is then transformed into JavaScript objects by the transpiler (such as Babel) before it's run by the browser.**\n\n```\nconst element = React.createElement(\n  'h1',\n  { className: 'greeting' },\n  'Hello, world!'\n);\n```\n\n**You can write the same thing using JSX like this:**\n\n```\nconst element = \u003ch1 className=\"greeting\"\u003eHello, world!\u003c/h1\u003e;\n```\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpunitkatiyar%2Freact-master-guide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpunitkatiyar%2Freact-master-guide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpunitkatiyar%2Freact-master-guide/lists"}