1,192 karma · joined October 2, 2015
If you’re in a small enough company for your impact to matter, chances are your stock options are still chips, which you might never get to cash in.
If the company is post IPO then chances are your impact will never move the needle materially for yourself.
Income is really the only thing that matters. When you do the same job and aren’t getting inflationary bumps then there’s a serious issue.
Which is still needed for actual spring physicals vs the facsimile of linear() (which might often be enough!)
If you instead build the keyframes up front and give them to WAAPI/CSS then you won’t encounter stutters.
This is easily provable by adding some blocking JS into your code. Block the main thread for ten seconds after your first transition and see when that next await triggers. Your animation will run smoothly for 1 second and then the next chunk of your timeline won’t run for another 9.
If anything it’d be weirder to make this two separate concepts. What would they even be? What does a ref not already do, as a box that contains an arbitrary value, that we’d want from a box with an element in it?