Conversation
|
For types, I'd recommend starting with |
yarn.lock
Outdated
| languageName: node | ||
| linkType: hard | ||
|
|
||
| "@types/react@npm:types-react@beta": |
There was a problem hiding this comment.
You should use resolutions to enforce a single version of @types/react and @types/react-dom as suggested in the upgrade guide
Multiple versions of @types/react is not supported just like multiple versions of react are not supported.
|
@eps1lon I did try that but it didn't make any changes. Luckily I think I'm making headway with the types now. |
I just tried it in a fresh clone and it made changes to 25 files: $ npx types-react-codemod@latest preset-19 .
Processing 779 files...
Spawning 10 workers...
Results:
0 errors
753 unmodified
1 skipped
25 ok
Time elapsed: 6.403seconds |
Ah interesting, I must have done it wrong. I’ll give it another shot, thanks. |
36e92ac to
11b72f3
Compare
|
So hype for this. |
215aa43 to
7570162
Compare
|
Thanks for pushing on this. I'm very happy to report that |
441465a to
e4a856d
Compare
|
Hi @mattgperry , just curious, does:
mean that you've already made significant progress on Framer Motion 3d compatibility with React 19? I ask because I remember seeing the following warning in the docs, so it was a pleasant surprise.
|
|
@steve-marmalade Yeah I think 3D should be working now but that will rely on the deps defined in the |
@steve-marmalade I'm also the latest NextJS canary ( and I basically just use a very basic |
|
Getting a weird bug where the opacity isn't transitioning when I refresh the page (but fixes itself if I hard refresh shift-refresh). Using NextJS. Not sure how to solve for it because this issue was introduced in upgrading the packages below. I am using framer motion in my template for the route, also using the
// src\app\template.js
'use client'
import { motion } from 'framer-motion'
const variants = {
hidden: { opacity: 0, x: 0, y: 0 },
enter: { opacity: 1, x: 0, y: 0 },
}
export default function Template({ children }) {
return (
<motion.main
variants={variants}
initial="hidden"
exit="hidden"
animate="enter"
transition={{ type: 'linear', duration: 0.25 }}
key="LandingPage"
>
{children}
</motion.main>
)
} |
@Apezdr I'm getting the same behavior. This PR that might address the issue was just merged (more info here). It will hopefully be fixed once these changes are merged in the v12 alpha version. |
|
Any chance we can get a alpha-1 backporting fixes since alpha-0 release? |
1d25284 to
20a5c12
Compare
|
@tyteen4a03 You can upgrade to |
471c7d6 to
07641dd
Compare
|
Btw I'm attempting to upgrade to RC1 now. Not the smoothest process 😅 but hopefully new alpha today or Tuesday. |
42a2209 to
b8d7553
Compare
4c5d88f to
95c5c31
Compare
|
|
||
| function scrollFunction(onScroll: OnScroll, options: ScrollOptions) { | ||
| if (isOnScrollWithInfo(onScroll) || needsElementTracking(options)) { | ||
| console.log(isOnScrollWithInfo(onScroll), needsElementTracking(options)) |
There was a problem hiding this comment.
Just a reminder that this should be removed before release! Apologies if you were already aware of this :3
|
Stil blocked by #2925 |
|
React 19 released! 😀 |
|
Can someone who’s using 12.0.0 check out 11.13.3 and let me know if that works just as well? |
|
That's odd, |
|
@faradaytrs @thomashexagon can you check |
|
Reproducing on 19 locally I don't get the |
so should i check or you figured it out? |
|
@faradaytrs you I believe are running the correct version, now I’m curious about the className |
|
@faradaytrs This should be fixed with All: Please use |


This PR upgrades React to v19.
Fixes #2668
Current release:
12.0.0-alpha.1Because Framer will be on React 18 perhaps for a while, the current plan is to keep this PR open, release as
12.0.0, keepmainfor11.xreleases and rebase them into12.xfor the time being.TODO
12.0.0