Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/components/landing/RedactLanding.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ export default function RedactLanding() {
return (
<LibraryLandingShell
libraryId="redact"
headline="React, redacted."
description="You shouldn't have to rewrite your app to ship less JavaScript. Keep writing React, add one Vite plugin, and let Redact handle the runtime."
headline="Built for the React you love."
description="We love React, and we want to keep writing it. Redact is an alternative runtime for React apps, with a smaller footprint and synchronous rendering. Keep your components, hooks, and imports, and try it with one Vite plugin."
hero={
<div className="min-w-0 space-y-5">
<div className="grid grid-cols-2 gap-4">
Expand Down Expand Up @@ -66,8 +66,8 @@ export default defineConfig({
<div className="grid items-center gap-10 lg:grid-cols-2 lg:gap-16">
<div className="space-y-5">
<LandingSectionIntro
title="You already know how to use it."
body="Write your components, call your hooks, import from React. The plugin takes care of swapping the runtime, including server rendering, and Fast Refresh keeps working while you make changes."
title="Still writing React."
body="React's component model is the reason we built this. Redact keeps that familiar way of building apps, including server rendering, Fast Refresh, and React DevTools, while exploring how small the runtime underneath it can be."
/>
<p className="text-ds-body-sm leading-relaxed text-text-secondary">
We trade concurrent scheduling for a smaller, synchronous runtime.
Expand Down
4 changes: 2 additions & 2 deletions src/libraries/libraries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -686,9 +686,9 @@ export const redact: LibrarySlim = {
...categoryStyles.framework,
name: 'TanStack Redact',
to: '/redact/latest',
tagline: 'A smaller React-compatible runtime with synchronous rendering',
tagline: 'An alternative runtime for the React you love',
description:
'Keep your React components, hooks, and imports, with a smaller synchronous runtime, a Vite plugin, and optional features you can leave out of your bundle.',
'Built out of love for React, Redact offers a smaller, synchronous runtime for React apps. Keep your components, hooks, and imports, and try it with one Vite plugin.',
repo: 'tanstack/redact',
frameworks: ['react'],
frameworkPackageNames: { react: '@tanstack/redact' },
Expand Down
Loading