Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It's not possible to use preload attribute with Typescript. #8

Closed
PavlMais opened this issue Apr 22, 2021 · 1 comment
Closed

It's not possible to use preload attribute with Typescript. #8

PavlMais opened this issue Apr 22, 2021 · 1 comment
Assignees

Comments

@PavlMais
Copy link
Contributor

No description provided.

@victortrusov victortrusov self-assigned this Apr 22, 2021
@victortrusov
Copy link
Owner

Thank you for your interest!

I added Route with preload prop to the package in version 1.1.0, so now you can import it from this package instead of react-router-dom

import { PreloadingSwitch, Route } from "react-easy-preload";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants