Skip to content

Commit

Permalink
docs: fix typos on Qwik City home
Browse files Browse the repository at this point in the history
  • Loading branch information
corydeppen committed Jun 26, 2023
1 parent d6f4d04 commit 6e1b033
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions packages/docs/src/routes/docs/(qwikcity)/qwikcity/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,35 +17,35 @@ While Qwik focuses on Component API, Qwik City contains API to support the compo
- [routing](/docs/routing/): Define your application routes with directory based routing. (Supports both MPA and SPA routing models.)
- [pages](/docs/pages): Render application pages, the main feature of an application.
- [layouts](/docs/layouts/): Define common shared page layouts to be reused across pages.
- [loaders](/docs/route-loader/): Fetch data on server to be used by the component.
- [actions](/docs/action/): Provide a way for the component to request server to perform an action.
- [endpoints](/docs/endpoints/): A way to define data endpoints for your RESTful API, GraphQL API, JSON, XML or revers proxy.
- [loaders](/docs/route-loader/): Fetch data on the server to be used by the component.
- [actions](/docs/action/): Provide a way for the component to request the server to perform an action.
- [endpoints](/docs/endpoints/): A way to define data endpoints for your RESTful API, GraphQL API, JSON, XML or reverse proxy.
- [middleware](/docs/middleware/): A centralized way to perform cross-cutting concerns such as authentication, security, caching, redirects, and logging.
- [server$](/docs/server$/): A simple way to execute logic on server.
- [server$](/docs/server$/): A simple way to execute logic on the server.
- [cache](/docs/caching/): Control caching of your content.
- [env variables](/docs/env-variables/): API to manage reading environment variables, commonly used for keys, in platform independent way.
- Supports both Server Side Rending (SSR) for fully dynamic sites as well as Static Side Generation (SSG) to be hosted on static web servers and CDNs.
- [env variables](/docs/env-variables/): API to manage reading environment variables, commonly used for keys, in a platform independent way.
- Supports both Server Side Rendering (SSR) for fully dynamic sites as well as Static Site Generation (SSG) to be hosted on static web servers and CDNs.

> Qwik¹ City²
>
> [**Qwik¹**](/docs/(qwik)/index.mdx): Core framework, stable, primitives, component model.
>
> [**City²**](/docs/(qwikcity)/routing/index.mdx): Opinionated file-based router, middleware, endpoints, and data fetching and update.
We call it a **meta-framework** for Qwik. Qwik City is to Qwik, what [Next.js](https://nextjs.org/) is to React, what [Nuxt](https://nuxtjs.org/) is to Vue, [SvelteKit](https://kit.svelte.dev/) to Svelte and [Analog](https://analogjs.org/) is to Angular.
We call it a **meta-framework** for Qwik. Qwik City is to Qwik, what [Next.js](https://nextjs.org/) is to React, what [Nuxt](https://nuxt.com/) is to Vue, [SvelteKit](https://kit.svelte.dev/) to Svelte and [Analog](https://analogjs.org/) is to Angular.

Qwik (core) and Qwik City (routing) solve problems at two layers of abstraction. **Qwik**, focuses component and state management primitives, while Qwik City brings an **opinionated and performant way to build sites at scale**. We don't want to lock the ecosystem into a single correct way of building sites, in fact we encourage the community to build alternative solutions on top of Qwik.
Qwik (core) and Qwik City (routing) solve problems at two layers of abstraction. **Qwik**, focuses on component and state management primitives, while Qwik City brings an **opinionated and performant way to build sites at scale**. We don't want to lock the ecosystem into a single correct way of building sites, in fact we encourage the community to build alternative solutions on top of Qwik.

> While Qwik-City is full of useful functionality, thanks to Qwik's resumability and JavaScript streaming, there is no additional cost to end user from Qwik-City. (zero JavaScript);
> While Qwik City is full of useful functionality, thanks to Qwik's resumability and JavaScript streaming, there is no additional cost to the end user from Qwik City. (zero JavaScript);
Use Qwik City to build an e-commerce website, blog site, or any other website that needs routing, layouts, or data retrieval/updates. Qwik City is built on Qwik, and therefore Qwik City sites are resumable and only download the minimal amount of JavaScript with fine-grained lazy loading.

## High Level API Overview

This table shows in which file (`index.tsx` vs `layout.tsx` ) should the respective feature be implemented in.
This table shows which file (`index.tsx` vs `layout.tsx`) the respective feature should be implemented in.

<img width="100%" src="/docs/qwikcity/routing-files.png"/>

## Partytown

Qwik-City also comes pre-integrated with [Partytown](https://partytown.builder.io) allowing your to execute your third-party code off the main thread.
Qwik City also comes pre-integrated with [Partytown](https://partytown.builder.io) allowing you to execute your third-party code off the main thread.

0 comments on commit 6e1b033

Please sign in to comment.