mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
<!--
Make sure you've read the CONTRIBUTING.md guidelines:
https://github.com/stack-auth/stack-auth/blob/dev/CONTRIBUTING.md
-->
<!-- ELLIPSIS_HIDDEN -->
----
> [!IMPORTANT]
> This pull request updates the Stack Auth documentation structure,
enhances navigation and layout functionalities, and introduces new
components for improved user experience.
>
> - **Behavior**:
> - Introduces `PlatformRedirect` component in `platform-redirect.tsx`
for redirecting users to their preferred platform.
> - Adds `usePlatformPreference` hook in `use-platform-preference.ts`
for managing platform preferences.
> - Updates `getSmartRedirectUrl()` in `navigation-utils.ts` to use
`getSmartPlatformRedirect()`.
> - **Layout and Navigation**:
> - Enhances sidebar functionality with collapsible sections in
`docs.tsx` and `sidebar-context.tsx`.
> - Adds `DocsSidebarCollapseTrigger` in `docs.tsx` for sidebar
collapse/expand functionality.
> - Updates `SharedHeader` in `shared-header.tsx` to include
platform-aware navigation links.
> - **Documentation Structure**:
> - Updates `meta.json` files in `templates` to reflect new
documentation structure.
> - Renames `overview.mdx` to `index.mdx` in `sdk` and `components`
directories.
> - Adds detailed documentation for `Team`, `TeamUser`, and
`ContactChannel` in respective `.mdx` files.
>
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=stack-auth%2Fstack-auth&utm_source=github&utm_medium=referral)<sup>
for 21e55737cb. You can
[customize](https://app.ellipsis.dev/stack-auth/settings/summaries) this
summary. It will automatically update as commits are pushed.</sup>
<!-- ELLIPSIS_HIDDEN -->
---------
Co-authored-by: Stack-Bot <madison@stack-auth.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
41 lines
1.7 KiB
Plaintext
41 lines
1.7 KiB
Plaintext
---
|
|
title: FAQ
|
|
description: Frequently asked questions about Stack
|
|
---
|
|
|
|
## Languages & Frameworks
|
|
<AccordionGroup>
|
|
<Accordion title="What languages are supported?">
|
|
For frontends, Stack supports TypeScript and JavaScript. For backends, Stack has a flexible [REST API](/rest-api) that can be used with any language or framework.
|
|
</Accordion>
|
|
<Accordion title="Can I use Stack with other JavaScript frameworks, like Astro or Angular?">
|
|
Yes! You can use our vanilla JavaScript SDK, or, if the framework is React-based, our React SDK.
|
|
</Accordion>
|
|
<Accordion title="Can I use Stack with the Next.js pages router?">
|
|
Only the Next.js app router is currently officially supported, although some members of the community have successfully used the React or vanilla JavaScript SDKs with the pages router.
|
|
</Accordion>
|
|
</AccordionGroup>
|
|
|
|
## Product
|
|
<AccordionGroup>
|
|
<Accordion title="How do you compare to `<X>`?">
|
|
Ask yourself about `<X>`:
|
|
|
|
- Is `<X>` open-source?
|
|
- Is `<X>` developer-friendly, well-documented, and lets you get started in minutes?
|
|
- Besides authentication, does `<X>` also do authorization and user management (see feature list below)?
|
|
|
|
If you answered "no" to any of these questions, then that's how Stack Auth is different from `<X>`.
|
|
</Accordion>
|
|
<Accordion title="Can I migrate my existing userbase to Stack Auth?">
|
|
Yes! You can [create users programmatically](/rest-api/server/users/create-user) using our [REST API](/rest-api).
|
|
</Accordion>
|
|
</AccordionGroup>
|
|
|
|
## Other
|
|
<AccordionGroup>
|
|
<Accordion title="How can I contribute?">
|
|
Please carefully read our [CONTRIBUTING.md](https://github.com/stack-auth/stack-auth/blob/dev/CONTRIBUTING.md).
|
|
</Accordion>
|
|
</AccordionGroup>
|