3.0.13 • Published 2 years ago

@allenai/varnish-react-router v3.0.13

Weekly downloads
309
License
Apache-2.0
Repository
github
Last release
2 years ago

varnish-react-router

An extension to Varnish for applications that use React Router.

Usage

First install the package:

yarn add @allenai/varnish-react-router

Then you can use it like so:

import { ThemeProvider } from '@allenai/varnish';
import { Link } from '@allenai/varnish-react-router';
import '@allenai/varnish/varnish.css';

const App = () => (
  <ThemeProvider>
    <Link to="/some/path">Click Here</InternalLink>
  </ThemeProvider>
);

See: Varnish documentation for more example usage.

Contributing

Examples of this library are shown in the Varnish Demo. You can utilize the root Varnish Monorepo Docker setup by running docker-compose up --build. From there you will be able to see demos at https://localhost:8080/components/varnish-react-route

Publishing

See instructions at the monorepo root README

Getting Help

If you're stuck don't hesitate to reach out:

We're eager to improve varnish and need your feedback to do so!

3.0.12

2 years ago

3.0.13

2 years ago

3.0.11

2 years ago

3.0.10

2 years ago

3.0.8

2 years ago

3.0.9

2 years ago

3.0.6

2 years ago

3.0.6-alpha.1

2 years ago

3.0.6-alpha.0

2 years ago

3.0.5-alpha.0

2 years ago

3.0.5-alpha.2

2 years ago

3.0.5-alpha.1

2 years ago

3.0.4

3 years ago

3.0.3

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.5

3 years ago

3.0.0

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.0

4 years ago

2.0.0-alpha3

4 years ago

2.0.0-alpha2

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago