[轉]Whatever happened with react-canvas? Why hasn’t it taken off?
@cheapsteak, I’d love to use React Canvas for my entire app. Its so much more performant, especially for swiping and animations. But the reason I decided not to use it is
(1) accessibility and
(2) inputs.
You can’t select/highlight text or copy/paste.
You can’t tab through input fields.
You can’t access the camera.
Browsers are designed with all kind of quirks. You can’t pull up the camera on mobile without an element, and you can’t put HTML elements inside a canvas.
I didn’t want to spend so much time building input fields and dealing with another layer of browser quirks so I gave up on the fantasy