Skip to content

Commit

Permalink
Merge pull request #14 from forge42dev/rr7
Browse files Browse the repository at this point in the history
React Router v7
  • Loading branch information
AlemTuzlak authored Nov 23, 2024
2 parents 37994f9 + 065509d commit 6197d5b
Show file tree
Hide file tree
Showing 23 changed files with 5,440 additions and 8,662 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/publish-commit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: 🚀 pkg-pr-new
on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"

- name: Install dependencies
run: npm install

- name: Build
run: npm run build

- run: npx pkg-pr-new publish
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@

<img style="display: block; margin: 0 auto;" src="./assets/remix-cache.png" height="300px" align="middle" />

# Important information

This library is now a part of the React Router ecosystem and runs on top of React Router. It should be compatible with remix.run but if you're having issues version
1.1.0 is the last version that will work with remix.run.


remix-client-cache is a powerful and lightweight library made for Remix.run to cache your server loader data on the client using clientLoaders.

By default it uses the stale while revalidate strategy and hot swaps your stale info once loaded from the server. It also allows you to invalidate the cache for a specific key or multiple keys.
Expand Down
Loading

0 comments on commit 6197d5b

Please sign in to comment.