diff --git a/docs/react/advanced-usage/can-i-use-decorators.md b/docs/react/advanced-usage/can-i-use-decorators.md
index 2745615..bcd4f1b 100644
--- a/docs/react/advanced-usage/can-i-use-decorators.md
+++ b/docs/react/advanced-usage/can-i-use-decorators.md
@@ -5,6 +5,7 @@ sidebar_label: Use Decorators
sidebar_position: 2
keywords: [decorators, create react app, decorators in create react app, decorators in react, decorators in javascript, decorators in typescript]
description: "Learn how to use decorators in Create React App to enhance and extend the functionality of your components."
+hide_table_of_contents: true
---
diff --git a/docs/react/advanced-usage/custom-templates.md b/docs/react/advanced-usage/custom-templates.md
index 4283e08..e5b0d54 100644
--- a/docs/react/advanced-usage/custom-templates.md
+++ b/docs/react/advanced-usage/custom-templates.md
@@ -3,7 +3,7 @@ id: custom-templates
title: Custom Templates
sidebar_label: Importing a Component
sidebar_position: 1
-keywords: [create react app, custom templates, custom template, react project, project setup, project configuration, project dependencies, project folder structure, react app, react project setup, react project configuration, react project dependencies, react project folder structure, react project template, react project scaffolding, react project boilerplate, react project starter kit, react project setup template, react project configuration template, react project dependencies template, react project folder structure template, react project scaffolding template, react project boilerplate template, react project starter kit template, react project setup boilerplate, react project configuration boilerplate, react project dependencies boilerplate, react project folder structure boilerplate, react project scaffolding boilerplate, react project starter kit boilerplate]
+keywords: [create react app, custom templates, custom template, react project, project setup, project configuration, boilerplate, reusable template, npm, npx, cra-template, cra-template-typescript, degit]
description: "Learn how to create and use custom templates in Create React App to quickly start new projects with specific configurations, dependencies, and folder structures."
hide_table_of_contents: true
---
diff --git a/docs/react/advanced-usage/pre-rendering-into-static-html-files.md b/docs/react/advanced-usage/pre-rendering-into-static-html-files.md
index dbe9d0e..c01afa6 100644
--- a/docs/react/advanced-usage/pre-rendering-into-static-html-files.md
+++ b/docs/react/advanced-usage/pre-rendering-into-static-html-files.md
@@ -5,6 +5,7 @@ sidebar_label: Pre-Rendering Static HTML
sidebar_position: 3
keywords: [pre-rendering, static html, react pre-rendering, react static html, pre-rendering in react, static html in react, react performance, react seo]
description: "Learn how to pre-render your React application into static HTML files to improve performance and SEO."
+hide_table_of_contents: true
---
If you're hosting your React application using a static hosting provider, you have a fantastic opportunity to enhance its performance and SEO by pre-rendering it into static HTML files. Pre-rendering involves generating HTML pages for each route or link in your application, making them readily available to users even before the JavaScript bundle loads. This seamless process not only improves loading times but also boosts your website's visibility on search engines.
diff --git a/docs/react/back-end-integration/fetching-data-with-ajax-requests.md b/docs/react/back-end-integration/fetching-data-with-ajax-requests.md
index c057d54..d94b4c9 100644
--- a/docs/react/back-end-integration/fetching-data-with-ajax-requests.md
+++ b/docs/react/back-end-integration/fetching-data-with-ajax-requests.md
@@ -6,6 +6,7 @@ sidebar_position: 2
tags: [React, AJAX, Data Fetching, API, Asynchronous]
keywords: [fetching data in react, ajax requests in react, data fetching in react, react ajax, react fetch, react data fetching, react api]
description: "Learn how to fetch data with AJAX requests in a React application using the `fetch()` API and the `axios` library."
+hide_table_of_contents: true
---
import '../css/style.css';
@@ -39,7 +40,7 @@ The `fetch()` function is a powerful tool for making AJAX requests in modern web
Here's a basic example of how the `fetch()` API works:
```js
-fetch('https://api.github.com/users/Ajay-Dhangar')
+fetch('https://api.github.com/users/ajay-dhangar')
.then((response) => response.json())
.then((data) => {
// Process the data here
@@ -50,7 +51,7 @@ fetch('https://api.github.com/users/Ajay-Dhangar')
});
```
-In this example, we use the `fetch()` function to make a GET request to the URL `https://api.github.com/users/Ajay-Dhangar`. We then use the `then()` method to handle the response. The `response.json()` method reads the response data and parses it as JSON. Finally, we handle the parsed data or catch any errors that occurred during the request.
+In this example, we use the `fetch()` function to make a GET request to the URL `https://api.github.com/users/ajay-dhangar`. We then use the `then()` method to handle the response. The `response.json()` method reads the response data and parses it as JSON. Finally, we handle the parsed data or catch any errors that occurred during the request.
Edit src/App.js and save to reload. @@ -287,6 +287,4 @@ Check out the [official documentation](https://create-react-app.dev/docs/proxyin Congratulations! You've successfully learned how to proxy API requests during development with Create React App. By using proxying, you've simplified your development environment and avoided troublesome CORS issues. -Whether you choose the built-in `proxy` field or the more flexible manual setup, understanding how to handle API requests effectively will boost your productivity and make building React apps a delightful experience. - -Now that you've mastered proxying, you're ready to build amazing apps with seamless frontend-backend communication. Keep coding and have fun! \ No newline at end of file +Whether you choose the built-in `proxy` field or the more flexible manual setup, understanding how to handle API requests effectively will boost your productivity and make building React apps a delightful experience. \ No newline at end of file diff --git a/docs/react/back-end-integration/title-and-meta-tags.md b/docs/react/back-end-integration/title-and-meta-tags.md index 8ed566d..261fae7 100644 --- a/docs/react/back-end-integration/title-and-meta-tags.md +++ b/docs/react/back-end-integration/title-and-meta-tags.md @@ -1,11 +1,12 @@ --- id: title-and-meta-tags -title: Title And Meta Tags -sidebar_label: Title & Meta Tags +title: "Title and Meta Tags" +sidebar_label: "Title & Meta Tags" sidebar_position: 4 tags: [title, meta, tags, react, create react app, seo, search engine optimization, server, server-side, back-end, integration] keywords: [title, meta, tags, react, create react app, seo, search engine optimization, server, server-side, back-end, integration] description: "Learn how to handle title and meta tags in your Create React App for back-end integration, making your website more appealing and discoverable." +hide_table_of_contents: true --- import '../css/style.css' diff --git a/docs/react/building-your-app/adding-a-router.md b/docs/react/building-your-app/adding-a-router.md index 5e9dac3..304e9ce 100644 --- a/docs/react/building-your-app/adding-a-router.md +++ b/docs/react/building-your-app/adding-a-router.md @@ -5,6 +5,7 @@ sidebar_position: 8 tags: [react, react router, routing, react app, single-page application, spa, create react app, navigation, links, components] keywords: [react, react router, routing, react app, single-page application, spa, create react app, navigation, links, components] description: "Learn how to add routing capabilities to your React app using React Router, enabling dynamic, multi-page applications without full-page refreshes." +hide_table_of_contents: true --- In the world of web development, creating dynamic and interactive applications is a common requirement. React, being a popular JavaScript library for building user interfaces, provides a powerful way to create single-page applications (SPAs). However, to enhance the user experience and enable navigation between different views or pages within your React app, you need to implement routing. diff --git a/docs/react/building-your-app/adding-bootstrap.md b/docs/react/building-your-app/adding-bootstrap.md index 7082fce..308387d 100644 --- a/docs/react/building-your-app/adding-bootstrap.md +++ b/docs/react/building-your-app/adding-bootstrap.md @@ -3,8 +3,9 @@ id: adding-bootstrap title: Adding Bootstrap sidebar_position: 4 tags: [react, create react app, bootstrap, css, styling, components, responsive, layout, design, ui, user interface, integration] -keywords: [react, create react app, bootstrap, css, styling, components, responsive, layout, design, ui, user interface, integration, npm, install, package, library, framework, pre-designed, enchanting, styles, responsive, layouts, components, buttons, forms, grid, system, columns, rows, container, app, project, example, tutorial, guide, how-to, learn, step-by-step, beginner, basics, introduction, overview, explanation, example, code, source, snippet, tutorial, guide, learn, how-to, steps] +keywords: [react, create react app, bootstrap, css, styling, components, responsive, layout, design, ui, user interface, integration] description: "Learn how to integrate Bootstrap into your Create React App, unlocking the power of pre-designed components, responsive layouts, and enchanting styles." +hide_table_of_contents: true --- import './style.css' @@ -186,7 +187,7 @@ export default MagicalApp;
Prepare to be enchanted by the wonders they create together.
Edit src/App.js and save to reload. diff --git a/docs/react/hooks/useCallback.md b/docs/react/hooks/useCallback.md index 7ea4b94..13ffb9d 100644 --- a/docs/react/hooks/useCallback.md +++ b/docs/react/hooks/useCallback.md @@ -4,6 +4,7 @@ title: useCallback Hook Concept sidebar_label: useCallback Hook sidebar_position: 5 tags: [react, create-react-app, useCallback, hooks, react-scripts, react-dom, react-app] +hide_table_of_contents: true --- The `useCallback` hook is a built-in React hook that allows you to memoize functions in functional components. It is particularly useful for optimizing performance by preventing unnecessary re-renders of child components that depend on callback functions. diff --git a/docs/react/hooks/useContext.md b/docs/react/hooks/useContext.md index f78b316..8f714fa 100644 --- a/docs/react/hooks/useContext.md +++ b/docs/react/hooks/useContext.md @@ -4,6 +4,7 @@ title: useContext Hook Concept sidebar_label: useContext Hook sidebar_position: 3 tags: [react, create-react-app, useContext, hooks, react-scripts, react-dom, react-app] +hide_table_of_contents: true --- The `useContext` hook is a built-in React hook that allows you to consume context values in functional components. It provides a way to access data from a context provider without having to pass props down through multiple levels of the component tree. diff --git a/docs/react/hooks/useEffect-hook.md b/docs/react/hooks/useEffect-hook.md index 5a46257..c8e798d 100644 --- a/docs/react/hooks/useEffect-hook.md +++ b/docs/react/hooks/useEffect-hook.md @@ -4,6 +4,7 @@ title: useEffect Hook Concept sidebar_label: useEffect Hook sidebar_position: 2 tags: [react, create-react-app, useEffect, hooks, react-scripts, react-dom, react-app] +hide_table_of_contents: true --- The `useEffect` hook is a built-in React hook that allows you to perform side effects in functional components. It serves as a combination of lifecycle methods like `componentDidMount`, `componentDidUpdate`, and `componentWillUnmount` in class components. diff --git a/docs/react/hooks/useMemo.md b/docs/react/hooks/useMemo.md index fdb21cc..2948633 100644 --- a/docs/react/hooks/useMemo.md +++ b/docs/react/hooks/useMemo.md @@ -4,6 +4,7 @@ title: useMemo Hook Concept sidebar_label: useMemo Hook sidebar_position: 6 tags: [react, create-react-app, useMemo, hooks, react-scripts, react-dom, react-app] +hide_table_of_contents: true --- The `useMemo` hook is a built-in React hook that allows you to memoize expensive calculations or computations in functional components. It helps optimize performance by preventing unnecessary recalculations of values that depend on certain inputs. diff --git a/docs/react/hooks/useReducer.md b/docs/react/hooks/useReducer.md index 47c08b5..87d3ae2 100644 --- a/docs/react/hooks/useReducer.md +++ b/docs/react/hooks/useReducer.md @@ -4,6 +4,7 @@ title: useReducer Hook Concept sidebar_label: useReducer Hook sidebar_position: 4 tags: [react, create-react-app, useReducer, hooks, react-scripts, react-dom, react-app] +hide_table_of_contents: true --- The `useReducer` hook is a built-in React hook that provides an alternative way to manage state in functional components, especially when dealing with complex state logic or multiple related state variables. diff --git a/docs/react/hooks/useRef.md b/docs/react/hooks/useRef.md index 74e1c07..4b6c96b 100644 --- a/docs/react/hooks/useRef.md +++ b/docs/react/hooks/useRef.md @@ -4,6 +4,7 @@ title: useRef Hook Concept sidebar_label: useRef Hook sidebar_position: 7 tags: [react, create-react-app, useRef, hooks, react-scripts, react-dom, react-app] +hide_table_of_contents: true --- The `useRef` hook is a built-in React hook that allows you to create mutable references to DOM elements or any other value that persists across renders in functional components. diff --git a/docs/react/hooks/useState-hook.md b/docs/react/hooks/useState-hook.md index fafa563..76e3db4 100644 --- a/docs/react/hooks/useState-hook.md +++ b/docs/react/hooks/useState-hook.md @@ -4,6 +4,7 @@ title: useState Hook Concept sidebar_label: useState Hook sidebar_position: 1 tags: [react, create-react-app, useState, hooks, react-scripts, react-dom, react-app] +hide_table_of_contents: true --- The `useState` hook is a built-in React hook that allows functional components to manage state. It provides a way to add stateful logic to functional components, enabling them to hold and update data over time. diff --git a/docs/react/styles-and-assets/adding-a-css-modules-stylesheet.md b/docs/react/styles-and-assets/adding-a-css-modules-stylesheet.md index f6fd73e..28d1367 100644 --- a/docs/react/styles-and-assets/adding-a-css-modules-stylesheet.md +++ b/docs/react/styles-and-assets/adding-a-css-modules-stylesheet.md @@ -5,6 +5,7 @@ sidebar_label: CSS Modules Stylesheet sidebar_position: 2 tags: [react, create-react-app, css-modules, css, stylesheet, styling, react-scripts, react-dom, react-app] description: "Learn how to add a CSS Modules stylesheet to your Create React App project. Use scoped styling and prevent naming clashes by automatically generating unique class names for your styles." +hide_table_of_contents: true --- import '../css/style.css' diff --git a/docs/react/styles-and-assets/adding-a-sass-stylesheet.md b/docs/react/styles-and-assets/adding-a-sass-stylesheet.md index 853bfe2..0638c8f 100644 --- a/docs/react/styles-and-assets/adding-a-sass-stylesheet.md +++ b/docs/react/styles-and-assets/adding-a-sass-stylesheet.md @@ -5,6 +5,7 @@ sidebar_label: Sass Stylesheet sidebar_position: 3 tags: [react, create-react-app, sass, stylesheet] description: "Learn how to add a Sass stylesheet to your Create React App project. Use the power of Sass to write cleaner and more maintainable styles for your React components." +hide_table_of_contents: true --- :::caution warn @@ -77,8 +78,9 @@ SASS_PATH=path1;path2;path3 ``` ::: -Step 5: Using Sass with CSS Modules ----------------------------------- + +## Step 5: Using Sass with CSS Modules + You can also use Sass in combination with [CSS modules](adding-a-css-modules-stylesheet.md). To enable this feature, follow the same steps mentioned above, but use `.module.scss` as the file extension instead (e.g., `src/App.module.scss`). :::tip info diff --git a/docs/react/styles-and-assets/adding-a-stylesheet.md b/docs/react/styles-and-assets/adding-a-stylesheet.md index f0ec98f..f53120b 100644 --- a/docs/react/styles-and-assets/adding-a-stylesheet.md +++ b/docs/react/styles-and-assets/adding-a-stylesheet.md @@ -5,6 +5,7 @@ sidebar_label: Stylesheet sidebar_position: 1 tags: [react, create-react-app, css, stylesheet, styling, react-scripts, react-dom, react-app] description: "Learn how to add a stylesheet to your Create React App project. Style your components and make them visually appealing with CSS." +hide_table_of_contents: true --- In this guide, we will explore how to add a stylesheet to your React application created with Create React App. Cascading Style Sheets (CSS) allow you to style your components and make them visually appealing. We'll walk through the process step by step, making it easy for beginners to understand. diff --git a/docs/react/styles-and-assets/adding-css-reset.md b/docs/react/styles-and-assets/adding-css-reset.md index abb3bf2..34af7b6 100644 --- a/docs/react/styles-and-assets/adding-css-reset.md +++ b/docs/react/styles-and-assets/adding-css-reset.md @@ -5,6 +5,7 @@ sidebar_label: CSS Reset sidebar_position: 4 tags: [react, create-react-app, css, stylesheet, styling, react-scripts, react-dom, react-app] description: "Learn how to add a CSS reset to your Create React App project using PostCSS Normalize. Ensure consistent styling across different browsers by providing a solid foundation for your React components." +hide_table_of_contents: true --- This tutorial will guide you on adding a CSS reset to your React project using [PostCSS Normalize], which provides a solid foundation for consistent styling across different browsers. diff --git a/docs/react/styles-and-assets/adding-images-fonts-and-files.md b/docs/react/styles-and-assets/adding-images-fonts-and-files.md index b697a5d..15e8e4c 100644 --- a/docs/react/styles-and-assets/adding-images-fonts-and-files.md +++ b/docs/react/styles-and-assets/adding-images-fonts-and-files.md @@ -5,6 +5,7 @@ sidebar_label: Images Fonts and Files sidebar_position: 6 tags: [react, create-react-app, images, fonts, files, assets, react-scripts, react-dom, react-app] description: "Learn how to work with images, fonts, and files in a React application. Manage and utilize these assets effectively to create visually appealing and interactive web experiences." +hide_table_of_contents: true --- In this guide, we'll explore how to work with images, fonts, and files in a React application. These assets are essential for creating visually appealing and interactive web experiences. We'll cover everything you need to know to manage and utilize these assets effectively. @@ -203,8 +204,4 @@ function App() { } ``` -With this knowledge, you're ready to manage images, fonts, and files effectively in your React app. Have fun experimenting and enhancing your web projects! - -Remember, continuous learning is the key to becoming a mastermind developer! - -If you have any questions or need further assistance, don't hesitate to reach out to the React community for support. Happy coding! \ No newline at end of file +With this knowledge, you're ready to manage images, fonts, and files effectively in your React app. Have fun experimenting and enhancing your web projects! \ No newline at end of file diff --git a/docs/react/styles-and-assets/code-splitting.md b/docs/react/styles-and-assets/code-splitting.md index af161b1..a5ccdb1 100644 --- a/docs/react/styles-and-assets/code-splitting.md +++ b/docs/react/styles-and-assets/code-splitting.md @@ -5,6 +5,7 @@ sidebar_label: Code Splitting sidebar_position: 9 tags: [react, performance, optimization, code-splitting, lazy-loading, suspense, react-lazy] description: "Learn how to optimize your React application's performance by code splitting. Split your code into smaller chunks and load them only when needed, resulting in faster load times and improved user experiences." +hide_table_of_contents: true --- import React, { lazy, Suspense } from 'react'; diff --git a/docs/react/styles-and-assets/loading-graphql-files.md b/docs/react/styles-and-assets/loading-graphql-files.md index a1b2a19..3df77e7 100644 --- a/docs/react/styles-and-assets/loading-graphql-files.md +++ b/docs/react/styles-and-assets/loading-graphql-files.md @@ -5,6 +5,7 @@ sidebar_label: Loading GraphQL Files sidebar_position: 7 tags: [react, create-react-app, graphql, apollo-client, graphql-code-generator, react-apollo, react-apollo-hooks] description: "Learn how to load GraphQL files in a Create React App project. Use Apollo Client or GraphQL Code Generator to fetch data from your GraphQL server and simplify your React application development." +hide_table_of_contents: true --- GraphQL is a powerful query language for APIs that allows you to efficiently request only the data you need from your server. If you are using GraphQL in your React application created with Create React App, you might wonder how to load your GraphQL files effectively. diff --git a/docs/react/styles-and-assets/post-processing-css.md b/docs/react/styles-and-assets/post-processing-css.md index abb9d2b..96d253c 100644 --- a/docs/react/styles-and-assets/post-processing-css.md +++ b/docs/react/styles-and-assets/post-processing-css.md @@ -5,6 +5,7 @@ sidebar_label: Post Processing CSS sidebar_position: 5 tags: [react, create-react-app, css, stylesheet, styling, react-scripts, react-dom, react-app] description: "Learn how to leverage post-processing CSS in Create React App to enhance your stylesheets and ensure cross-browser compatibility. Automatically add vendor prefixes, embrace new CSS features, and more." +hide_table_of_contents: true --- import '../css/style.css' @@ -153,7 +154,6 @@ function App() { } ``` - ## Conclusion In this guide, we explored the captivating world of post-processing CSS in Create React App. By leveraging the power of post-processing tools like Autoprefixer, you can effortlessly enhance your stylesheets and ensure cross-browser compatibility. Whether you're embracing new CSS features or catering to specific browser requirements, post-processing CSS has got you covered. Now, go forth and create captivating styles with the magic of post-processing CSS in Create React App! \ No newline at end of file diff --git a/docs/react/styles-and-assets/using-the-public-folder.md b/docs/react/styles-and-assets/using-the-public-folder.md index 64e89b5..58fca6d 100644 --- a/docs/react/styles-and-assets/using-the-public-folder.md +++ b/docs/react/styles-and-assets/using-the-public-folder.md @@ -5,6 +5,7 @@ sidebar_label: Using the Public Folder sidebar_position: 8 tags: [react, create-react-app, public-folder, assets, react-scripts, react-dom, react-app] description: "Learn how to use the public folder in a Create React App project. Customize the HTML file and add assets directly to the public folder to enhance your React application." +hide_table_of_contents: true --- :::tip info @@ -66,6 +67,4 @@ The `public` folder, though an unconventional ally, shines in rare scenarios whe However, dear adventurer, if you dare to add a `