Re:Ask HN: What problem are you close to solving and how can...
by mindri0t on Sunday August 29, 2021 @09:36AM
(#28346569)
Have you tried SingleSPA? I’ve used it in the past to get React apps inside an old AngularJS app to replace parts of it over time and it worked pretty well. Docs say it works with Vue as well but I don’t have any direct experience with Vue at all far less for this kind of task so I’m not really sure it will work but it is worth looking at https://single-spa.js.org/
Re:Ask HN: What problem are you close to solving and how can...
by janderson215 on Sunday August 29, 2021 @09:41AM
(#28346607)
Have you tried using `useRef` and attaching the Vue component to a parent React node? I haven’t does this with Vue, but have with a vanilla JS chart library.
Reasoning: helping with the code behind a paper on explanatory AI systems.
Related code on github if curious https://github.com/pollomarzo/map-generation/tree/main/graph
EDIT: thanks for suggestions will give them a spin throughout tomorrow :)