I have developed for sharepoint framework and because I don't have a development environment (SPO for DEV) sometimes I use the workbench in production.
I wanted to know if this can have an impact on the application.
Thanks
I have developed for sharepoint framework and because I don't have a development environment (SPO for DEV) sometimes I use the workbench in production.
I wanted to know if this can have an impact on the application.
Thanks
Whether the use of the workbench in a production site will have negative effects on the performance of the site depends on what the web part you are testing does. For example, if you're just getting some a few dozen list items from a couple lists and rendering it out on the page, then you will be fine. But if the web part gets tons of data from multiple sources to build some sort of visualization, it could have some impact. Similarly, if the web part makes changes to the site configuration, that could have an impact (particularly if there's a bug in the code you're testing).
I highly recommend that you consider using a developer tenant to test your web parts instead. You can get a free developer tenant by joining the Microsoft 365 Developer Program. I've been using developer tenants for all my SharePoint, Teams, and Power Platform development for years.
I hope this helps.
Hi @Toriyama ,
To use client-side web parts on modern SharePoint server-side pages, you need to deploy and register the web part with SharePoint. Workbench is tremendously useful to test and validate your web parts against the service. You can refer to following document to deploy your web part.
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/build-a-hello-world-web-part
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Hi @Toriyama ,
Would you tell me whether your issue has been resolved or have any update?
I am looking forward to your reply.
Have a nice day!
Thanks,
Raytheon Xie
Hi @Toriyama ,
I am checking to see how things are going there on this issue.
Hi,
But if I use the production site to develop the web part, can this somehow cause problems on the production site? Will users be impacted? Or will the system be slow, for example?
Thanks
12 people are following this question.