Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using FabricJS With React-Native

I have an application which is built on a ReactJS and uses FabricJS extensively. We plan to reuse a lot of code and build mobile apps using React-Native but I am not sure how we can integrate the FabricJS component into it.

The app is something like https://www.my-wallsticker.de/wandtattoo-selber-gestalten/

I have found and used https://www.npmjs.com/package/react-fabricjs but nothing available for React-Native.

What could be the solution?

like image 977
Aayush Avatar asked Oct 16 '25 18:10

Aayush


1 Answers

You would have to use a WebView with canvas (or something like this library: https://github.com/iddan/react-native-canvas) in order to be able to render anything with FabricJS.

like image 118
Kuba Beránek Avatar answered Oct 18 '25 07:10

Kuba Beránek



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!