Babylon with ReactJS and Node

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?

Any help would be appreciated.

@brianzinn did an amzing job with react and babylon, I bet he ll be happy to help :slight_smile:

1 Like

hi @Danilo_Vukovic,

I’ll try to answer your questions, but first to understand more about your application:

  1. Are you using Create React App, another JAM stack to run this or vanilla js + html?
  2. 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…
  3. Typically to transition between pages you would use a router - this helps with bookmarks, deep linking and browser back button via history, etc…
  4. What’s the “res” library and why didn’t it really work?


1 Like