Flipboard / react-canvas

High performance <canvas> rendering for React components
BSD 3-Clause "New" or "Revised" License
13.18k stars 919 forks source link

Is the react-canvas still updating? #157

Open hackeris opened 8 years ago

hackeris commented 8 years ago

This is a amazing thing but there is few commit recently. Is the react-canvas still updating?

framerate commented 7 years ago

Flipboard's employees in charge of this are no longer there. They have a new guy assigned but he hasn't been able to start the large undertaking, from my understanding.

I'm investigating how to update it but if you're interested in helping please let me know.

We need to update it from react 0.14 -> 15.X. An example of how to write a custom renderer is here: https://github.com/iamdustan/tiny-react-renderer

It's been updated to 15.0 so we should be able to find discrepancies. Once we issue that PR it should start working again and then we can work on optimizations and TODO's.

I'm severely overworked at my company with higher priorities tasks but I'm sure I'll get to this eventually and if Flipboard is unable to accept the PR I'll keep a fork on github for people to use. But until then, I'd love some help to get it moving!

Type1J commented 7 years ago

I'd really like react-canvas to continue. There are people using it.

quinn commented 7 years ago

It can be helpful to compare projects based on activity rather than number of stars:

https://js.libhunt.com/categories/1984-canvas?order=activity

I'm going to try react-konva rather than this project and see how it goes since this one has been abandoned. related: https://github.com/Flipboard/react-canvas/issues/155, https://github.com/Flipboard/react-canvas/issues/154, https://github.com/Flipboard/react-canvas/issues/147, https://github.com/Flipboard/react-canvas/issues/134, https://github.com/Flipboard/react-canvas/issues/121, https://github.com/Flipboard/react-canvas/issues/155, https://github.com/Flipboard/react-canvas/issues/138

good blog post tho =/

hackeris commented 7 years ago

@quinn Nice. Thank you very much.

tconroy commented 7 years ago

@quinn currently debating between react-canvas and react-konva... How has your experience been with konva? It seems like it's less practical for building interfaces than react-canvas but I'm running into issues trying to manually update react-canvas to working condition :/

framerate commented 7 years ago

Someone has a pull request that updates it to use latest react. I'm gonna try that

On Feb 11, 2017 1:04 PM, "Tom" notifications@github.com wrote:

@quinn https://github.com/quinn currently debating between react-canvas and react-konva... How has your experience been with konva? It seems like it's less practical for building interfaces than react-canvas but I'm running into issues trying to manually update react-canvas to working condition :/

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Flipboard/react-canvas/issues/157#issuecomment-279175612, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEiM_XatEyEra2wYqS4BfN4g_6RYFiqks5rbiJZgaJpZM4Kzywx .

quinn commented 7 years ago

@tconroy not sure what your use-case is, but I was able to get done what I needed to using react-konva. It's a bit heavy in the sense that is a react module on top of an entire canvas drawing framework, but it was adequately performant for the task I was working on (something that was halting the browser when i built in the DOM rather than using a canvas element). I guess it depends what you are trying to do too (implement a DOM-ish UI using canvas vs. a task that would typically be done using canvas)