Skip to content

Commit bd14a88

Browse files
committed
Fix formatting related to folder structure query
1 parent e12c600 commit bd14a88

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2348,8 +2348,6 @@ class ParentComponent extends React.Component {
23482348

23492349
74. ### Is it possible to use async/await in plain React?
23502350

2351-
# Can You Use async/await in Plain React?
2352-
23532351
Yes, you can use `async/await` in plain React, as long as your JavaScript environment supports ES2017+. Nowadays most modern browsers and build tools support ES2017+ version. If you're using **Create React App**, **Next.js**, **Remix**, or any modern React setup, `async/await` is supported out of the box through **Babel**.
23542352
23552353
### Example Usage
@@ -2377,11 +2375,11 @@ class ParentComponent extends React.Component {
23772375

23782376
**[⬆ Back to Top](#table-of-contents)**
23792377

2380-
75. ### What are the common folder structures for React?
2378+
75. ### What are the common folder structures for React?
23812379

2382-
There are two common practices for React project file structure.
2380+
There are two common practices for React project file structure.
23832381

2384-
1. **Grouping by features or routes:**
2382+
1. **Grouping by features or routes:**
23852383

23862384
One common way to structure projects is locate CSS, JS, and tests together, grouped by feature or route.
23872385

@@ -2406,7 +2404,7 @@ class ParentComponent extends React.Component {
24062404
└─ ProfileAPI.js
24072405
```
24082406

2409-
2. **Grouping by file type:**
2407+
2. **Grouping by file type:**
24102408

24112409
Another popular way to structure projects is to group similar files together.
24122410

0 commit comments

Comments
 (0)