Live data from Hacker News

Flipboard releases React Canvas

github.com

21–30 of 136 posts

Re: Flipboard releases React Canvas

#21
post #6

Earlier quoted context omitted.

Honest question, would studying immediate mode rendering systems improve my understanding of React's system of doing things? If so, do you have a resource I could use?

There is a video that describes "Immediate-Mode Graphical User Interfaces" really well, see: https://twitter.com/stoikerty/status/467047333453381632 There is also a lengthy and insightful blog-post about the subject where I found the video: http://jlongster.com/Removing-User-Interface-Complexity,-or-...

ah! Awesome, thanks

Re: Flipboard releases React Canvas

#22
post #15

A stronger indictment of the DOM than finding it necessary to combine a CSS parser written in Javascript, a virtual DOM and a canvas based renderer because it is faster than updating the DOM would be difficult to come up with... It looks like amazing work, but it's quite depressing that it's necessary.

Don't worry, there will be a new flag `document.useStricter` that will turn off all the cruft that makes the DOM slow so you don't need to patch around it with libraries. It'll become a Chrome experimental flag after the editor's draft is released in 2022.

Re: Flipboard releases React Canvas

#23
post #15

A stronger indictment of the DOM than finding it necessary to combine a CSS parser written in Javascript, a virtual DOM and a canvas based renderer because it is faster than updating the DOM would be difficult to come up with... It looks like amazing work, but it's quite depressing that it's necessary.

Does mobile browser DOM rendering use GPU hardware acceleration?

Re: Flipboard releases React Canvas

#26

Oh my, it is beautiful on the inside. Check out the source. They're totally showing off the power of React component model even when it doesn't render directly to DOM tree: https://github.com/Flipboard/react-canvas/blob/master/lib/Su... It's about describing nested side effects in time, really.

I have generally done systems and backend work, so usually C/C++/Go/Python. React is making me extremely excited to do some frontend work!

Is React a good introduction to the land of frontend programming? Or do I first need to familiarize myself with vanilla JS and go bottom up to React?

Re: Flipboard releases React Canvas

#30
post #17

Oh my, it is beautiful on the inside. Check out the source. They're totally showing off the power of React component model even when it doesn't render directly to DOM tree: https://github.com/Flipboard/react-canvas/blob/master/lib/Su... It's about describing nested side effects in time, really.

I actually wonder if it can be done even more elegant with RxJS?

You may want to take a look at elm-html.
Post reply on HN