Skip to content

Commit 2bcaa74

Browse files
Hasan-Mirkodiakhq[bot]LadyBluenotes
authored
Fix some grammar and typo issues (#941)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> Co-authored-by: Sarah <gerrardsarah@gmail.com>
1 parent 10be512 commit 2bcaa74

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

src/routes/configuration/environment-variables.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function MyComponent() {
5959
6060
## Private Environment Variables
6161
62-
These variables should only be accessed in your backend code, and so it's best to not use `VITE_` prefix for them. Instead, use `process.env` to access them. Depending on the [Nitro preset](https://nitro.unjs.io/deploy) chosen, they'll be made available automatically or they will require an external dependency such as [dotenv](https://www.npmjs.com/package/dotenv).
62+
These variables should only be accessed in your backend code, so it's best not to use the `VITE_` prefix for them. Instead, use `process.env` to access them. Depending on the [Nitro preset](https://nitro.unjs.io/deploy) chosen, they'll be made available automatically or they will require an external dependency such as [dotenv](https://www.npmjs.com/package/dotenv).
6363
6464
```jsx
6565
DB_HOST="somedb://192.110.0"

src/routes/configuration/typescript.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ return (
589589
);
590590
```
591591

592-
This approach is similar using the keyed option, but offers an accessor to prevent the recreation of children each time the `when` value changes.
592+
This approach is similar to using the keyed option, but offers an accessor to prevent the recreation of children each time the `when` value changes.
593593

594594
```tsx
595595
return (

src/routes/guides/routing-and-navigation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ Wildcard tokens **must** be the last part of the path; `foo/*any/bar` will not c
362362
### Multiple paths
363363

364364
The `Routes` component also supports defining multiple paths using an array.
365-
This allows avoids a route rerendering when switching between two or more locations that it matches:
365+
This avoids a route rerendering when switching between two or more locations that it matches:
366366

367367
```jsx
368368
// Navigating from "/login" to "/register" will not cause the component to re-render

src/routes/guides/state-management.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: State management
33
order: 2
44
---
55

6-
State management is process of handling and manipulating data that affects the behavior and presentation of a web application.
6+
State management is the process of handling and manipulating data that affects the behavior and presentation of a web application.
77
To build interactive and dynamic web applications, state management is a critical aspect of development.
88
Within Solid, state management is facilitated through the use of reactive primitives.
99

src/routes/guides/styling-components/css-modules.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ These provide a way to encapsulate styles within components, preventing global c
1111

1212
Begin by creating a CSS module file.
1313
Conventionally, these files have a `.module.css` extension, like `style.module.css`.
14-
However, you can also use other other extensions, such as `.scss` and `.sass`.
14+
However, you can also use other extensions, such as `.scss` and `.sass`.
1515

1616
```css
1717
/* styles.module.css */

src/routes/reference/basic-reactivity/create-effect.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ queueMicrotask(() => {
7373
// goodbye
7474
```
7575

76-
This delay in first execution is useful because it means an effect defined in a component scope runs after the JSX returned by the component gets added the DOM.
76+
This delay in first execution is useful because it means an effect defined in a component scope runs after the JSX returned by the component gets added to the DOM.
7777
In particular, [refs](/reference/jsx-attributes/ref) will already be set.
7878
Thus you can use an effect to manipulate the DOM manually, call vanilla JS libraries, or other side effects.
7979

0 commit comments

Comments
 (0)