November Happy Hour will be moved to Thursday December 5th.

Best practice to use React

Vote:
 

Hi,

I want to set up a new project using React for the frontend and I want to know what is the best practice on EPiServer + React. 

I have some ideas in mind but since I didn't implement any of them on EPiServer I like to know if you've faced any problem implementing it or if you know a better way.

In addition, I don't know how to implement on page editing :)

On another CMS, I've used ReactJS.net. Seems easy but since we had different layouts for editView and normal view we had some problems with initializing the some components so we've ended up pushing items to a javascrip list and then initializing them when page has been loaded. 

#174254
Jan 23, 2017 13:37
Vote:
 

Have a look at these: http://world.episerver.com/blogs/magnus-stalberg/Dates/2017/1/creating-a-react-widget-for-episerver-cms/ http://world.episerver.com/Modules/Forum/Pages/Thread.aspx?id=152604

Should not be any problem but as you mentiond you will need to create some editingview.

#175994
Mar 07, 2017 11:43
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.