{"id":23501251,"url":"https://github.com/himuuuuuuuuu/namaste-react","last_synced_at":"2026-04-05T21:31:56.859Z","repository":{"id":230401815,"uuid":"779282095","full_name":"himuuuuuuuuu/Namaste-React","owner":"himuuuuuuuuu","description":"A repository to keep all the notes and assignments of Namaste React Course. Includes useful resources and notes for frontend development interviews!","archived":false,"fork":false,"pushed_at":"2024-03-30T13:02:20.000Z","size":363,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-27T00:37:58.422Z","etag":null,"topics":["bundler","css","html","js","json","jsx","parcel","react18-hook","reactjs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/himuuuuuuuuu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-03-29T13:16:54.000Z","updated_at":"2024-03-30T05:50:18.000Z","dependencies_parsed_at":"2024-04-01T19:31:01.809Z","dependency_job_id":null,"html_url":"https://github.com/himuuuuuuuuu/Namaste-React","commit_stats":null,"previous_names":["himuuuuuuuuu/namaste-react"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himuuuuuuuuu%2FNamaste-React","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himuuuuuuuuu%2FNamaste-React/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himuuuuuuuuu%2FNamaste-React/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himuuuuuuuuu%2FNamaste-React/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/himuuuuuuuuu","download_url":"https://codeload.github.com/himuuuuuuuuu/Namaste-React/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251073596,"owners_count":21532005,"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":["bundler","css","html","js","json","jsx","parcel","react18-hook","reactjs"],"created_at":"2024-12-25T07:13:56.082Z","updated_at":"2025-12-30T23:05:03.664Z","avatar_url":"https://github.com/himuuuuuuuuu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Namaste-React\n- In this repository, I will be maintaining the notes, resources and assignments of **Namaste React Web Series by Akshay Saini**.\n- Navigate to the episode number \"0x\" by going to the branch \"0x\" of this repository.\n- Eg. Episode 02 is on branch 02 of the repository.\n- *Exception*: Episode 01 is on the main branch!!\n\n# HomeWork Questions\n#### 1. What is Emmet? [Read More](https://emmet.io/)\n   - It is a plugin used to auto-generate boiler-plate code. For example, we can use '!' to generate HTMl boilerplate code\n   - We can use abbreviations/short expressions to generate HTML and CSS.\n   - It is a toolkit that makes writing HTML, CSS code really easy!\n     \n#### 2. Difference between Library and Framework?\n   ##### Library:\n   - Library is one that can be applied to any part of our existing app.\n   - It does not INVERT THE CONTROL since the control is in the hands of the programmer who can use it where and when required\n   - React is a library since it can be applied to any portion of our app like navbar or header etc.\n\n   ##### Framework:\n   - Framework is a whole full-fledged program that is used to build a whole app.\n   - It INVERTS THE CONTROL since it provides the developer some places to plug in their code. It calls that code only as needed.\n   - React is not a framework but a library.\n\n#### 3. What is CDN and Why Do we use it?\n#### 4. Why is React called React?\n   - Because it is \"Reacts\" to any state or property changes, and works with data of any form (as deeply structured as the graph itself) so the name is fitting.\n#### 5. What is the cross-origin in script tag? [Read More](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin)\n   - It is an attribute that we add to the script tag to tell the browser that no credentials are needed for accessing this script. So we allow cross-origin sharing with this attribute.\n   \n#### 6. What is the difference between React and ReactDOM?\n   - React is the library that provides the core React code. This is the fundamental code needed to run React anywhere\n   - ReactDOM is that React library for performing DOM operations. It is specific to the browser. It is bridge between React and Browsers. Enables runnning React in browser.\n   - We know React does not just run in Browsers, but also on Mobile, Android, etc. So we have different libraries for executing React on different platforms.\n   - So we need 2 separate packages in our app.\n\n#### 7. What is the difference between react.development.js and react.production.js files via CDN ?\n   - The React library provides two versions of its JavaScript files: **react.development.js** and **react.production.js**. The react.development.js is used in development stage/environment while the other is for production environment.\n   - The react.development.js file is **larger** in size compared to react.production.js.The development version contains additional code, comments, and debugging information that aids in development and troubleshooting.\n   - The development version (react.development.js) provides more detailed error messages and warnings compared to the production version. So it helps in better diagnostics\n   - The production version is **optimized for performance** and has undergone various optimizations, including **minification and removal of unnecessary code**, resulting in a smaller file size.\n\n#### 8. What is the difference between async and defer attribute?[Akshay's Video](https://www.youtube.com/watch?v=IrHmpdORLu8)\n   - Both are attributes given to script tags.\n   - `\u003cscript src = \"\"/\u003e`: Without any attribute in the script tag, the HTML parsing goes on\n   - `\u003cscript async src = \"\"/\u003e` : In this case, the HTML parsing goes on. When script tag is encountered, it is **fetched from the network asynchronously parallel to HTML parsing**. Then HTML parsing is paused and the script is executed. **Once the script execution is complete, then HTML parsing resumes**.\n   - `\u003cscript defer src = \"\"/\u003e` : In this case, **the HTML parsing goes on and the scripts are fetched in parallel**. Then once the **HTML parsing is complete, then the scripts are executed**. It does not matter when the scripts are available in the browser\n     \n  ![js](https://github.com/himuuuuuuuuu/Namaste-React/assets/122732514/dcf36e54-5b2b-48a0-9106-5a41e013ed45)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimuuuuuuuuu%2Fnamaste-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhimuuuuuuuuu%2Fnamaste-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimuuuuuuuuu%2Fnamaste-react/lists"}