react-canvas

How can I use Fabric.js with React?

落爺英雄遲暮 提交于 2019-12-02 17:16:12
I have an application using heavily HTML5 canvas via Fabric.js . The app is written on top of Angular 1.x, and I am planning to migrate it to React . My app allows writing text and drawing lines, rectangles, and ellipses. It is also possible to move, enlarge, shrink, select, cut, copy, and paste one or more of such objects. It is also possible to zoom and pan the canvas using various shortcuts. In short, my app utilizes Fabric.js to its full extent. I couldn't find much information on how to use Fabric.js together with React, so my concern is that 1. is it possible without major modifications,

How can I use Fabric.js with React?

别说谁变了你拦得住时间么 提交于 2019-11-28 16:40:18
问题 I have an application using heavily HTML5 canvas via Fabric.js. The app is written on top of Angular 1.x, and I am planning to migrate it to React. My app allows writing text and drawing lines, rectangles, and ellipses. It is also possible to move, enlarge, shrink, select, cut, copy, and paste one or more of such objects. It is also possible to zoom and pan the canvas using various shortcuts. In short, my app utilizes Fabric.js to its full extent. I couldn't find much information on how to