Skip to content

Commit 02d4948

Browse files
committed
docs: Remove 'Switching to Preact' page
1 parent fc6cdb3 commit 02d4948

25 files changed

Lines changed: 70 additions & 114 deletions

content/de/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ title: Preact
1010
<p class="tagline">Schnelle 3kB-Alternative zu React mit der gleichen ES6-API</p>
1111
<p class="intro-buttons">
1212
<a href="/guide/v10/getting-started" class="btn primary">Fang an</a>
13-
<a href="/guide/v10/switching-to-preact" class="btn secondary">Wechsle zu Preact</a>
13+
<a href="/guide/v10/getting-started#aliasing-react-to-preact" class="btn secondary">Wechsle zu Preact</a>
1414
</p>
1515
</jumbotron>
1616

@@ -123,7 +123,7 @@ function Counter() {
123123
Preacts Gestaltung lässt dich tausende Komponenten, die bereits im React-Ökosystem verfügbar sind, verwenden.
124124
</p>
125125
<p>
126-
Das Hinzufügen eines einfachen <a href="/guide/v10/switching-to-preact#how-to-alias-preact-compat">preact-compat</a>-Alias zum Bundler fügt eine Kompatibilitätsschicht hinzu, die es erlaubt, selbst die komplexesten React-Komponenten in der eigenen Preact-App zu verwenden.
126+
Das Hinzufügen eines einfachen <a href="/guide/v10/getting-started#aliasing-react-to-preact">preact-compat</a>-Alias zum Bundler fügt eine Kompatibilitätsschicht hinzu, die es erlaubt, selbst die komplexesten React-Komponenten in der eigenen Preact-App zu verwenden.
127127
</p>
128128
</div>
129129
</section>
@@ -270,6 +270,6 @@ function Counter() {
270270
</p>
271271
<p>
272272
<a href="/guide/v10/getting-started" class="btn primary">Fang an</a>
273-
<a href="/guide/v10/switching-to-preact" class="btn secondary">Wechsle zu Preact</a>
273+
<a href="/guide/v10/getting-started#aliasing-react-to-preact" class="btn secondary">Wechsle zu Preact</a>
274274
</p>
275275
</section>

content/en/about/project-goals.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ The intentional items under [Differences to React](/guide/v10/differences-to-rea
2525
- `Children`, can be replaced with native arrays
2626
- `Synthetic Events`, since Preact does not attempt to patch issues in older browsers like IE8
2727

28-
[preact/compat]: /guide/v10/switching-to-preact
28+
[preact/compat]: /guide/v10/getting-started#aliasing-react-to-preact

content/en/guide/v10/differences-to-react.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,5 +171,5 @@ The legacy `Context` API requires Components to declare specific properties usin
171171

172172
[project goals]: /about/project-goals
173173
[hyperscript]: https://github.com/dominictarr/hyperscript
174-
[preact/compat]: /guide/v10/switching-to-preact
174+
[preact/compat]: /guide/v10/getting-started#aliasing-react-to-preact
175175
[mdn's event reference]: https://developer.mozilla.org/en-US/docs/Web/Events

content/en/guide/v11/differences-to-react.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,5 +171,5 @@ The legacy `Context` API requires Components to declare specific properties usin
171171

172172
[project goals]: /about/project-goals
173173
[hyperscript]: https://github.com/dominictarr/hyperscript
174-
[preact/compat]: /guide/v10/switching-to-preact
174+
[preact/compat]: /guide/v10/getting-started#aliasing-react-to-preact
175175
[mdn's event reference]: https://developer.mozilla.org/en-US/docs/Web/Events

content/en/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description: Fast 3kB alternative to React with the same modern API
1010
<p class="tagline">Fast 3kB alternative to React with the same modern API</p>
1111
<p class="intro-buttons">
1212
<a href="/guide/v10/getting-started" class="btn primary">Get Started</a>
13-
<a href="/guide/v10/switching-to-preact" class="btn secondary">Switch to Preact</a>
13+
<a href="/guide/v10/getting-started#aliasing-react-to-preact" class="btn secondary">Switch to Preact</a>
1414
</p>
1515
</jumbotron>
1616

@@ -121,7 +121,7 @@ function Counter() {
121121
Preact's design means you can seamlessly use thousands of Components available in the React ecosystem.
122122
</p>
123123
<p>
124-
Adding a simple <a href="/guide/v10/switching-to-preact#how-to-alias-preact-compat">preact/compat</a> alias to your bundler provides a compatibility layer
124+
Adding a simple <a href="/guide/v10/getting-started#aliasing-react-to-preact">preact/compat</a> alias to your bundler provides a compatibility layer
125125
that enables even the most complex React components to be used in your application.
126126
</p>
127127
</div>
@@ -264,6 +264,6 @@ function Counter() {
264264
</p>
265265
<p>
266266
<a href="/guide/v10/getting-started" class="btn primary">Get Started</a>
267-
<a href="/guide/v10/switching-to-preact" class="btn secondary">Switch to Preact</a>
267+
<a href="/guide/v10/getting-started#aliasing-react-to-preact" class="btn secondary">Switch to Preact</a>
268268
</p>
269269
</section>

content/es/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ title: Preact
1010
<p class="tagline">Una alternativa veloz a React en 3kB con la misma API de ES6</p>
1111
<p class="intro-buttons">
1212
<a href="/guide/v10/getting-started" class="btn primary">Primeros pasos</a>
13-
<a href="/guide/v10/switching-to-preact" class="btn secondary">Cambiar a Preact</a>
13+
<a href="/guide/v10/getting-started#aliasing-react-to-preact" class="btn secondary">Cambiar a Preact</a>
1414
</p>
1515
</jumbotron>
1616

@@ -129,7 +129,7 @@ function Counter() {
129129
</p>
130130
<p>
131131
Agregando un simple alias a
132-
<a href="/guide/v10/switching-to-preact#how-to-alias-preact-compat">preact-compat</a> en tu bundler provee una capa de compatibilidad que habilita incluso los componentes de React más complejos para ser usados en tu aplicación.
132+
<a href="/guide/v10/getting-started#aliasing-react-to-preact">preact-compat</a> en tu bundler provee una capa de compatibilidad que habilita incluso los componentes de React más complejos para ser usados en tu aplicación.
133133
</p>
134134
</div>
135135
</section>
@@ -276,6 +276,6 @@ function Counter() {
276276
</p>
277277
<p>
278278
<a href="/guide/v10/getting-started" class="btn primary">Primeros pasos</a>
279-
<a href="/guide/v10/switching-to-preact" class="btn secondary">Cambiando a Preact</a>
279+
<a href="/guide/v10/getting-started#aliasing-react-to-preact" class="btn secondary">Cambiando a Preact</a>
280280
</p>
281281
</section>

content/fr/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ title: Preact
99
<p class="tagline">Alternative légère et rapide à React avec le même API en seulement 3Ko</p>
1010
<p class="intro-buttons">
1111
<a href="/guide/v10/getting-started" class="btn primary">Commencer</a>
12-
<a href="/guide/v10/switching-to-preact" class="btn secondary">Passer à preact</a>
12+
<a href="/guide/v10/getting-started#aliasing-react-to-preact" class="btn secondary">Passer à preact</a>
1313
</p>
1414
</jumbotron>
1515

@@ -122,7 +122,7 @@ function Counter() {
122122
Les composants du DOM virtuel vous permettent de réutiliser des briques de votre application. Grâce à la conception de Preact, vous avez à votre disposition les composants de l'écosystème React.
123123
</p>
124124
<p>
125-
Un simple alias vers <a href="/guide/v10/switching-to-preact#how-to-alias-preact-compat">preact-compat</a> apporte une couche de compatibilité qui permet l'utilisation des fonctionnalités les plus complexes de React.
125+
Un simple alias vers <a href="/guide/v10/getting-started#aliasing-react-to-preact">preact-compat</a> apporte une couche de compatibilité qui permet l'utilisation des fonctionnalités les plus complexes de React.
126126
</p>
127127
</div>
128128
</section>
@@ -269,6 +269,6 @@ function Counter() {
269269
</p>
270270
<p>
271271
<a href="/guide/v10/getting-started" class="btn primary">Commencer</a>
272-
<a href="/guide/v10/switching-to-preact" class="btn secondary">Passer à Preact</a>
272+
<a href="/guide/v10/getting-started#aliasing-react-to-preact" class="btn secondary">Passer à Preact</a>
273273
</p>
274274
</section>

content/it/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ title: Preact
1010
<p class="tagline">Un alternativa veloce e leggera 3Kb a React con le stesse moderne API</p>
1111
<p class="intro-buttons">
1212
<a href="/guide/v10/getting-started" class="btn primary">Primi Passi</a>
13-
<a href="/guide/v10/switching-to-preact" class="btn secondary">Passare a Preact</a>
13+
<a href="/guide/v10/getting-started#aliasing-react-to-preact" class="btn secondary">Passare a Preact</a>
1414
</p>
1515
</jumbotron>
1616

@@ -129,7 +129,7 @@ function Counter() {
129129
Il design di Preact ti permette di utilizzare senza problemi migliaia di componenti disponibili nell'ecosistema React.
130130
</p>
131131
<p>
132-
La semplice aggiunta dell'alias <a href="/guide/v10/switching-to-preact#how-to-alias-preact-compat">preact-compat</a> al tuo bundler fornisce un livello di compatibilità che permette anche al più complesso componente React di essere utilizzato nella tua applicaizone.
132+
La semplice aggiunta dell'alias <a href="/guide/v10/getting-started#aliasing-react-to-preact">preact-compat</a> al tuo bundler fornisce un livello di compatibilità che permette anche al più complesso componente React di essere utilizzato nella tua applicaizone.
133133
</p>
134134
</div>
135135
</section>
@@ -276,6 +276,6 @@ function Counter() {
276276
</p>
277277
<p>
278278
<a href="/guide/v10/getting-started" class="btn primary">Primi passi</a>
279-
<a href="/guide/v10/switching-to-preact" class="btn secondary">Passa a Preact</a>
279+
<a href="/guide/v10/getting-started#aliasing-react-to-preact" class="btn secondary">Passa a Preact</a>
280280
</p>
281281
</section>

content/ja/about/project-goals.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ Reactの機能の一部は意図的にPreactでは提供されていません。
2525
- `Children`は標準のArrayに置き換えることができます。
2626
- `Synthetic Events`はPreactがIE8のような古いブラウザに対応しないのでサポートされません。
2727

28-
[preact/compat]: /guide/v10/switching-to-preact
28+
[preact/compat]: /guide/v10/getting-started#aliasing-react-to-preact

content/ja/guide/v10/differences-to-react.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,5 +158,5 @@ Preactではこの制限はありません。すべてのコンポーネント
158158

159159
[Projectの目的]: /about/project-goals
160160
[hyperscript]: https://github.com/dominictarr/hyperscript
161-
[preact/compat]: /guide/v10/switching-to-preact
161+
[preact/compat]: /guide/v10/getting-started#aliasing-react-to-preact
162162
[MDN's Event Reference]: https://developer.mozilla.org/ja/docs/Web/Events

0 commit comments

Comments
 (0)