HackPi icon indicating copy to clipboard operation
HackPi copied to clipboard

Does react-native even support vis.js?

Open DeadPackets opened this issue 9 years ago • 3 comments

We need to know because this is the library we are using to render the network models and 99% of all the graphs xD

Link is here: http://visjs.org/

DeadPackets avatar Apr 09 '17 04:04 DeadPackets

Found github ports of vis.js to react, here they are:

https://github.com/uber/react-vis https://github.com/crubier/react-graph-vis

You need to check these out and see if they will work, @crisppY & close the issue if its resolved.

DeadPackets avatar Apr 09 '17 04:04 DeadPackets

@DeadPackets Thats react js not react native

dhiahassen avatar Apr 12 '19 12:04 dhiahassen

the only choice is to use visjs network within a "webview" and communicate by "js-injection".

for me the only issue with that approach was very bad performance issue when using "react-native-webview", so by now i manged to solve that problem by using react-native v0.59.10 core webview! (after rn-0.60, webview had been extracted from core sdk)

sfalihi avatar Mar 21 '20 13:03 sfalihi