It seems you have a typo.
(0, _reactEmotion.fonFace) is not a function on the console.
(0, _reactEmotion.fonFace) is not a function
`fonFace` should be fontFace
I would just listen for scroll on the window and update the start position to the current scroll position.
You can use an emoji for the class name prefix. The original versions of the demos all used `🎨-12345` formatted class names. I replaced them to avoid confusion.
There is a PR for typescript support. I’m not sure where they are at with it though. I’m 99% sure it works with preact-compat. It worked the last time I tried it.
I chose the benchmarks that were not using inline styles. If you use inline styles in the benchmark you aren’t really testing the full potential of the library.