Forum Discussion
Sharepoint with React.
- May 15, 2017
No...
You could use React in SharePoint On-Premise, but not (yet) using SPFx. But you could simply use a script editor webpart and place the correct script directives in it for using React and start scripting. Just as you would do using other frameworks or libraries. You could also use other techniques to get it available on your pages (use page layout, inject javascript using user custom action, etc).
No. :-(
The new SPFx is not available in SharePoint On-premises. I would expect that it will become availabel at some point for SharePoint 2016. Not sure if this will ever become available in 2013.
Thank you .
So we could use the React only in Sharepoint Online and Office 365. not in Sharepoint onpremise ??
Ramadurai.
- May 15, 2017
No...
You could use React in SharePoint On-Premise, but not (yet) using SPFx. But you could simply use a script editor webpart and place the correct script directives in it for using React and start scripting. Just as you would do using other frameworks or libraries. You could also use other techniques to get it available on your pages (use page layout, inject javascript using user custom action, etc).
- Ramadurai UthamiMay 16, 2017Copper Contributor
Thank you so much for needful information.
Can we use the Npm package in Sharepoint On premise rather than uploading the js files.
Ramadurai.
- May 16, 2017
Well you could also use CDN rather then uploading it to SharePoint. And you could use your tool chain of choice in your IDE how to package, bundle etc.