Skip to content

Commit e916c2e

Browse files
authored
Fix inconsistent spelling of 'Solid Router' (#1036)
1 parent efde922 commit e916c2e

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

src/i18n/dictionaries/en/ui.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default {
2525
"main.nav.section.rendering": "Rendering",
2626
"main.nav.section.secondary.primitives": "Secondary Primitives",
2727
"main.nav.section.stores": "Stores",
28-
"main.nav.section.solid.router": "Solid-Router",
28+
"main.nav.section.solid.router": "Solid Router",
2929
"main.nav.section.solid.router.components": "Components",
3030
"main.nav.section.solid.router.data.apis": "Data APIs",
3131
"main.nav.section.solid.router.preload.functions": "Preload Functions",

src/routes/solid-router/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ title: Overview
55
# Overview
66

77
<Callout title="Prerequisites">
8-
The docs are based on latest Solid-Router.
8+
The docs are based on latest Solid Router.
99
To use this version, you need to have Solid v1.8.4 or later installed.
1010
</Callout>
1111

12-
Solid-Router is the universal router for Solid which works for rendering on the client or the server.
12+
Solid Router is the universal router for Solid which works for rendering on the client or the server.
1313
It was inspired by and combines paradigms of [React Router](https://reactrouter.com/en/main) and the [Ember Router](https://guides.emberjs.com/release/routing/).
1414

1515
A router provides a way to change a user's view based on the URL in the browser.

src/routes/solid-router/reference/components/a.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: A
33
---
44

5-
Solid-Router exposes an `<A />` component as a wrapper around the native [`<a />`](https://mdn.io/a) tag.
5+
Solid Router exposes an `<A />` component as a wrapper around the native [`<a />`](https://mdn.io/a) tag.
66

77
`<A />` supports relative and base paths. `<a />` doesn't. But `<a />` gets augmented
88
when JS is present via a top-level listener to the DOM, so you get the
@@ -22,7 +22,7 @@ By default matching includes locations that are descendants (e.g.: href `/users`
2222
## Soft Navigation
2323

2424
When JavaScript is present at the runtime, both components behave in a very similar fashion.
25-
This is because Solid-Router adds a listener at the top level of the DOM and will augment the native `<a />` tag to a more performant experience (with soft navigation).
25+
This is because Solid Router adds a listener at the top level of the DOM and will augment the native `<a />` tag to a more performant experience (with soft navigation).
2626

2727
<Callout type="info">
2828

src/routes/solid-router/reference/data-apis/cache.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ isDeprecated: true
44
---
55

66
<Callout type="caution" title="Deprecation Warning">
7-
This API is deprecated since `v0.15.0` of Solid-Router. Use [query](/solid-router/reference/data-apis/query) instead. It will be removed in an upcoming release.
7+
This API is deprecated since `v0.15.0` of Solid Router. Use [query](/solid-router/reference/data-apis/query) instead. It will be removed in an upcoming release.
88
</Callout>
99

1010
`cache` is a [higher-order function](https://en.wikipedia.org/wiki/Higher-order_function) designed to create a new function with the same signature as the function passed to it.

src/routes/solid-start/advanced/auth.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The `getUser` function can be [implemented using sessions](/solid-start/advanced
2222
## Protected Routes
2323

2424
Routes can be protected by checking the user or session object during data fetching.
25-
This example uses [Solid-Router](/solid-router).
25+
This example uses [Solid Router](/solid-router).
2626

2727
```tsx
2828
const getPrivatePosts = query(async function() {

0 commit comments

Comments
 (0)