Hello, I have a React JS app, it’s basically a deckGL and Mapbox html page, and I also have a Babylon “edit tool”. Since im new to all this, including React and Node i have several questions.
Do I need to have my Babylon program integrated with ReactJS if it’s on another page completely? Also how do I properly transition between these two pages, since the “res” library didn’t really work for me?
I’ll try to answer your questions, but first to understand more about your application:
Are you using Create React App, another JAM stack to run this or vanilla js + html?
You don’t need to have the Babylon integrated with React if it’s on another page. Integrating them may create a better user experience, if you want to switch back and forth and sync context, etc…
Typically to transition between pages you would use a router - this helps with bookmarks, deep linking and browser back button via history, etc…
What’s the “res” library and why didn’t it really work?