Recently upgraded my app to React 18 to have concurrent rendering with createRoot(rootElement).render() replacing the old render(, rootElement) and specifically this command causes all of the edges to not pick up style changes dynamically. I have a few functions that will change the colour of the edges once clicked by using the .addClass() function by cytoscape, but now this does not work. Node's .addClass still works though...
Recently upgraded my app to React 18 to have concurrent rendering with createRoot(rootElement).render( ) replacing the old render( , rootElement) and specifically this command causes all of the edges to not pick up style changes dynamically. I have a few functions that will change the colour of the edges once clicked by using the .addClass() function by cytoscape, but now this does not work. Node's .addClass still works though...