Jordan Arldt

Results 17 comments of Jordan Arldt

@cjsjyh Here's a codesandbox example that I wrote that should be really helpful for you: - https://codesandbox.io/s/react-transition-routes-with-noderef-k9q47?file=/src/App.tsx

@cannon303 Here's a codesandbox example that should be helpful! - https://codesandbox.io/s/react-transition-routes-with-noderef-k9q47?file=/src/App.tsx Essentially, each `Route` needs it's own `CSSTransition`, and each `CSSTransition` needs a `nodeRef` for the individual route. ```tsx //////...

> Thanks for reporting this @jordanarldt, I didn't even know NextJS fonts API was a thing. Will look into it. I believe it is a new thing since version 13...

@fwouts Awesome! Nice find, by the way! The way NextJS does it definitely seems like magic, and of course I wouldn't expect the PreviewJS implementation to be the same way...

@fwouts I actually made a working proof of concept, this may help you come up with a broader solution :-) I mock my `fonts.ts` module: ```js // preview.config.js module.exports =...

@tgodzik Thank you for the workaround! That's what I ended up doing shortly after making this issue.