'Is requestAnimationFrame(() => this.render()) better than requestAnimationFrame(render) ? [closed]
I always find the code like this
requestAnimationFrame(() => this.render())
I didn't see the difference from it and the code
requestAnimationFrame(this.render)
And the second way may even be faster, could someone tell me is there any good point to use the first way ?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
