Jan Fischer

Results 25 comments of Jan Fischer

It works for me with following config (tsconfig.json): ``` "awesomeTypescriptLoaderOptions": { "useTranspileModule": true } ```

@basslagter Yes you are right..a live reload doesn't work for me either. I didn't examine the output if there's a difference but from the docs it only uses a `fast...

I'm now using ts-loader: https://github.com/TypeStrong/ts-loader/blob/master/examples/hot-module-replacement/webpack.config.js

I guess the problem is React 18. I'll try to find time to fix it.

This is an interesting one. Currently I have little time to check the exact issue. Just a question: Why you are using scrollmagic? react-gsap also includes a ScrollTrigger component which...

With the ScrollTrigger and the pin prop you can achieve exactly the same and it plays more nicely together with the Timeline or Tween component. Have a look here: https://stackblitz.com/edit/react-gsap-scrolltrigger01?file=index.tsx...

Also have a look at the official docs: https://greensock.com/docs/v3/Plugins/ScrollTrigger

I have no experience with skypack. The issue seems to be the es5 import here: https://github.com/bitworking/react-gsap/blob/master/packages/react-gsap/src/tools/ScrollTrigger.tsx#L3 I had to do it, else you'd have to transpile node_modules if you want...

I had to look at this more deeply. Maybe this will be fixed with version 3, when I change the way how Timeline targets refs are added.