getify/TNG-Hooks

Feature: `useRender(..)`

Open

#19 opened on Jan 19, 2019

View on GitHub
 (3 comments) (0 reactions) (0 assignees)JavaScript (43 forks)batch import
enhancementhelp wantedquestion

Repository metrics

Stars
 (1,014 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

This hook is basically exactly like useEffect(..) except that it specifically defers its behavior asynchronously until the render frame (via requestAnimationFrame(..)).

Contributor guide