paint-brush
60fps: Powerful Tricks & Tools To Stop TypeScript and Javascript Jankby@whydoidoit
620 reads
620 reads

60fps: Powerful Tricks & Tools To Stop TypeScript and Javascript Jank

by Mike Talbot6mApril 4th, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Using JS/TS and React, we can use a tool to break up a process that takes more than 16m/s. We can ask the system to "run this in idle when you've got this much time free" The technique is quick to implement and can be a useful technique in some circumstances. The tool is available on the MIT-licensed package JS-corines and React.js. It uses most of the idle time on each frame to run some of the standard functions, keeping animations and scrolling smooth.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - 60fps: Powerful Tricks & Tools To Stop TypeScript and Javascript Jank
Mike Talbot HackerNoon profile picture
Mike Talbot

Mike Talbot

@whydoidoit

I've been coding for 30+ years on many different tech stacks! My current weapons of choice are JS/TS and React.

About @whydoidoit
LEARN MORE ABOUT @WHYDOIDOIT'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Mike Talbot HackerNoon profile picture
Mike Talbot@whydoidoit
I've been coding for 30+ years on many different tech stacks! My current weapons of choice are JS/TS and React.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Newspuddle