You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this is the old code I use, and the component works well.
import ReactDOM from 'react-dom'
ReactDom.render(<h1>Your App</h1>, document.getElementById('root'))
however, when I switch to new syntax of the React, when the force graph component renders the first time, only have a background color , the node and links will not show until the component is rerendered
import { createRoot } from 'react-dom/client'
createRoot(document.getElementById('root')).render(<h1>Your App</h1>)
The text was updated successfully, but these errors were encountered:
this is the old code I use, and the component works well.
however, when I switch to new syntax of the React, when the force graph component renders the first time, only have a background color , the node and links will not show until the component is rerendered
The text was updated successfully, but these errors were encountered: