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

Written by whydoidoit | Published 2021/04/04
Tech Story Tags: javascript | typescript | react | react-native | coding | web-development | front-end-development | programming

TLDR 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.via the TL;DR App

no story

Written by whydoidoit | I've been coding for 30+ years on many different tech stacks! My current weapons of choice are JS/TS and React.
Published by HackerNoon on 2021/04/04