Custom renderers for immediate mode APIs

(Manas Jayanth) #1

I noticed it was hard to write a renderer for Canvas API compared to the DOM. My understanding is that React is meant for retained mode APIs as opposed to immediate mode. Can React be written for immediate mode APIs or do immediate mode APIs have to be converted to retained mode as Sebmarkbage did with ART

Also it seems, retained mode is well suited for UIs and so is React. Immediate mode APIs like canvas 2d and webgl are popular among game developers. So do these APIs fall outside the scope of React and that React was never meant to be used for motion graphics?