Hi, I saw something the other day saying you can u...
# suitescript
e
Hi, I saw something the other day saying you can use react with your suitelet anyone has an example of how to?
m
This is an old project, but the concept is the same. I just started another very similar a few weeks ago. The biggest issue is to prevent React's default of code-splitting. This won't work with the NetSuite file cabinet so you want to your build process to output a single JS file for the whole app. Then it's a matter of building a suitelet that determines the URL for the JS and CSS files and outputs some very basic HTML. Here's an example of the suitelet I'm using in the new project.
❤️ 1