Comments (4)
It seems to be broken for latest version of react.
Error is:
A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.
from react-page-transition.
bump - anyone got this working? also tried framer-motion, but basic slideIn (see https://codesandbox.io/s/advanced-react-page-transition-demo-z8hmd , preset “moveToLeftFromRight”) doesn’t seem to be possible with it?
from react-page-transition.
bump#2 still don't know how to use it with routes and stuff, although wrapping the Route with Routes seems to resolve the error, but nothing except the navbar renders
from react-page-transition.
nowadays "exact" is deprecated and "render" seems also depracated ...
need some works around to put version up to date ...
from react-page-transition.
Related Issues (14)
- Module not found: Can't resolve 'react-transition-group' in '*\@steveeeie\react-page-transition\dist' HOT 10
- slider enterAnimation: "moveFromLeft", exitAnimation: "moveToRight", not working in MacOs safari latest version HOT 2
- Components don't appear to render when using the package HOT 7
- When adding 100% to the height, transitions work, but scrolling no longer does HOT 3
- Speed of the transitions HOT 3
- Support for React 17 HOT 12
- [Question] Does this work with Next.js HOT 1
- Does this work with Gastby?
- Set the duration programmatically
- Add Gatsby.js example
- Add Type Declarations HOT 5
- Package import issue HOT 1
- ./node_modules/@steveeeie/react-page-transition/dist/index.esm.js Module not found: Can't resolve 'styled-components' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-page-transition.