For guys who implement React into Netsuite suitele...
# suitescript
d
For guys who implement React into Netsuite suitelet, How do oyu handle react errors? I use React build folder on suitelet, when I have a simple react error I dont get this error on Netsuite screen (console), I just get 404 console.log error.
k
Is there documentation out there on how to connect React js to Netsuite?
d
No, its basically a suitelet that use inlinehtml field to display the react app after build.
k
is there any way I can look at that code to see how it works? I am very interested.
d
There is some posts about that on stackoverflow and reddit
m
I have a sample React Suitelet here: https://github.com/mdrobbins/netsuite-react-order-entry It's also available as bundle 454287 if you want to see it in action in a sandbox.
🙌 1
d
@Mike Robbins, do you still have the blog post about the app? The readme is still pointing at a datateksoftware.com url, and I can't find the blog post on the new datatek.io site
m
@David B No, sorry. I've been through a few iterations of my blog. Every time I feel like blogging again, I have to build a new site for it. It's a compulsion, I know. Sounds like I should probably write another one about this.
😆 1
d
write a blog post about the react app, or the compulsion to rebuild the site? 😆 Thanks for putting that repo out there though, appreciate it 👍
d
@Mike Robbins Hi Milke, acording to my quiestion, How do you handle error in your applicaiton when its uses suitelet? When ever I have a react error I get 404 error on console and not the exact error