Progressive web apps in suitelets
# ask-stanley-ai
m
Progressive web apps in suitelets
c
AI generated answer (using internal Slack threads):
Based on the conversations, it seems that Suitelets can indeed be used to create Progressive Web Apps (PWAs) in NetSuite. Suitelets are often compared to web pages or web apps, and they can be particularly useful when you need interaction with the UI. If you're experiencing slow loading times with your Suitelet, one suggestion is to convert it into a Single Page Application (SPA) mini-app. This approach puts the rendering speed back on the client, potentially improving performance. This has been done using various frameworks such as Angular, Vue, and Aurelia. The NetSuite file cabinet can serve as a static web host. You can build a standard API interface that runs as a Restlet or Suitelet, presenting a common JSON message format for requests/responses. The data layer for the front-end app would be the Suitelet or Restlet, and the web app itself would be served up from the file cabinet. If you want the app to have NetSuite's menu and other features, you can host the web app in an iframe on a generic UI Suitelet. There's also a tutorial available on how to host React applications in NetSuite using a Suitelet to serve the SPA. This approach can be used for all SPAs, and the tutorial also shows you how to develop locally. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.829382479
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.822694719
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.822460294
Please provide your feedback on this answer.