DEV Community

Discussion on: 1 small tip to improve your code readability

Collapse
scroung720 profile image
scroung720

When working with animations and rendering. I found this pattern pretty useful, usually the first thing that you do in your rendering is to detect if something has changed, if nothing has changed then do nothing and skip to the next call.