Skip to content

Latest commit

History

History
7 lines (6 loc) 路 584 Bytes

2021-05-08.md

File metadata and controls

7 lines (6 loc) 路 584 Bytes
publish_date tags
2021-05-08
react
  • Massively geeked out with more React + Mapbox. throwing request animation frame into the mix to animate camera and create pulsing effects is surprising tricky especially when you have both TS and React mix. react needs a handle on the reqest animation frame instance otherwise it just has no idea how to re-render the screen without a full refresh. This blog was useful for my understanding https://css-tricks.com/using-requestanimationframe-with-react-hooks/