• Stars
    star
    148
  • Rank 249,983 (Top 5 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 4 years ago
  • Updated 3 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
53,037
star
2

remix

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

history

Manage session history with JavaScript
JavaScript
8,292
star
4

indie-stack

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

examples

A community-driven repository showcasing examples using Remix ๐Ÿ’ฟ
TypeScript
1,055
star
6

blues-stack

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

grunge-stack

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

remix-website

TypeScript
325
star
9

example-trellix

A partial trello board clone with Remix
TypeScript
283
star
10

remix-jokes

TypeScript
197
star
11

starter-express

Starter project for using Remix with Express
TypeScript
111
star
12

example-movies

Data loading demo in Remix
JavaScript
76
star
13

starter-vercel

Remix Starter for Vercel
TypeScript
51
star
14

advanced-remix-2023

TypeScript
49
star
15

remix-discord-bot

TypeScript
40
star
16

remix-webpack-demo

TypeScript
37
star
17

starter-architect

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

meetup-guides

A collection of guides for Remix meetup organizers
14
star
19

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
20

v1-compat-utils

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

remix-replit-template

replit
TypeScript
6
star
22

jamstack-conf-workshop

TypeScript
4
star
23

changelog-github

TypeScript
3
star
24

react-router-api-docs

HTML
2
star