mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
ef294ed6fc
* Rename Scheduler methods more accurately **what is the change?:** ``` rIC -> scheduleCallback ``` We will later expose a second method for different priority level, name TBD. Since we only have one priority right now we can delay the bikeshedding about the priority names. cIC -> cancelScheduledCallback This method can be used to cancel callbacks scheduled at any priority level, and will remain named this way. why make this change?: Originally this module contained a polyfill for requestIdleCallback and cancelIdleCallback but we are changing the behavior so it's no longer just a polyfill. The new names are more semantic and distinguish this from the original polyfill functionality. **test plan:** Ran the tests **why make this change?:** Getting this out of the way so things are more clear. **Coming Up Next:** - Switching from a Map of ids and an array to a linked list for storing callbacks. - Error handling * callback -> work * update callsites in new places after rebase * fix typo
React ART
React ART is a JavaScript library for drawing vector graphics using React.
It provides declarative and reactive bindings to the ART library.
Using the same declarative API you can render the output to either Canvas, SVG or VML (IE8).