• Stars
    star
    136
  • Rank 258,578 (Top 6 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created almost 4 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The React Router website

React Router Website!

Setup

Copy the contents of .env.example file to the .env file and add your information to it.

cp .env.example .env

Install dependencies

npm install

That's it!

Development

npm run dev

There are a couple LRUCache's for talking to GitHub and processing markdown that expire after 5 minutes, if you want them to expire immediately for local development, set the NO_CACHE environment variable.

NO_CACHE=1 npm run dev

To work on local docs clone the react router repo and put it in the same folder as this website repo:

~/ur-stuff/reactrouter-website
~/ur-stuff/react-router

Then point .env at it like this:

LOCAL_REPO_RELATIVE_PATH="../react-router"

You'll notice a "local" option in the version dropdown menu when the app is running. That will pull the docs from your machine instead of GitHub.

Roadmap

  • Handle translations
  • Allow links to link to ".md" so code completion works when editing docs (sorry, this is a stupid @ryanflorence/md thing, need open that up so we can do more w/ markdown across all our sites)
  • parse out descriptions in @remix-run/md and add to seo
  • create resource route so the og:image is the first code block of the doc (with syntax highlighting!)

More Repositories

1

react-router

Declarative routing for React
TypeScript
51,949
star
2

remix

Build Better Websites. Create modern, resilient user experiences with web fundamentals.
TypeScript
27,688
star
3

history

Manage session history with JavaScript
JavaScript
8,253
star
4

indie-stack

The Remix Stack for deploying to Fly with SQLite, authentication, testing, linting, formatting, etc.
TypeScript
1,011
star
5

blues-stack

The Remix Stack for deploying to Fly with PostgreSQL, authentication, testing, linting, formatting, etc.
TypeScript
904
star
6

examples

A community-driven repository showcasing examples using Remix 💿
TypeScript
896
star
7

grunge-stack

The Remix Stack for deploying to AWS with DynamoDB, authentication, testing, linting, formatting, etc.
TypeScript
409
star
8

remix-website

TypeScript
270
star
9

remix-jokes

TypeScript
197
star
10

example-trellix

A partial trello board clone with Remix
TypeScript
177
star
11

starter-express

Starter project for using Remix with Express
TypeScript
112
star
12

example-movies

Data loading demo in Remix
JavaScript
53
star
13

starter-vercel

Remix Starter for Vercel
TypeScript
50
star
14

advanced-remix-2023

TypeScript
47
star
15

remix-discord-bot

TypeScript
40
star
16

remix-webpack-demo

TypeScript
36
star
17

starter-architect

Remix Starter for Architect (AWS CloudFormation with arc.codes)
TypeScript
24
star
18

release-comment-action

A GitHub Action to automatically comment on Pull Requests and related issues about a release. Used by Remix and React Router.
TypeScript
11
star
19

v1-compat-utils

Packages that enable v1 APIs in Remix v2 to enable easier upgrades.
TypeScript
11
star
20

remix-replit-template

replit
TypeScript
6
star
21

jamstack-conf-workshop

TypeScript
4
star
22

changelog-github

TypeScript
3
star