Is there any way of using Umbraco CMS with React.js front-end other than with Headless?
I've seen tutorials on how to use React.js at the front-end but they seem to be already outdated and not sure whether those solutions will be viable in the future updates to Umbraco.
If the direction Umbraco takes right now giving the solution of only the Heartcore as a base for SPA with its CMS then I am afraid it's the end of free Umbraco for small business/ enthousiasts websites. Heartcore is simply expensive.
Have a look at the HeadRest package for exposing end points for accessing content. I.e. turning the CMS headless.
For heartcore projects, HeadRest is probably your only real option, or you can write your own api controllers to handle the requests.
The Umbraco open source CMS has never been headless out of the box, so it's always been a case of installing a package or creating your own API end points to achieve it I believe.
You don't need 3. party things, to make things headless. That said, you can' directly serialize IPublishedContent, so you will need to write your own conversion logic.
You don't need headless to use reactjs in umbraco. It won't be SPA though.
I am using umbraco and react.js for a while and the result is perfect. It is working with both 8 and 9 version
Free Umbraco CMS with React.js?
Is there any way of using Umbraco CMS with React.js front-end other than with Headless?
I've seen tutorials on how to use React.js at the front-end but they seem to be already outdated and not sure whether those solutions will be viable in the future updates to Umbraco.
If the direction Umbraco takes right now giving the solution of only the Heartcore as a base for SPA with its CMS then I am afraid it's the end of free Umbraco for small business/ enthousiasts websites. Heartcore is simply expensive.
What do you think?
Hi Nick,
Have a look at the HeadRest package for exposing end points for accessing content. I.e. turning the CMS headless.
For heartcore projects, HeadRest is probably your only real option, or you can write your own api controllers to handle the requests.
The Umbraco open source CMS has never been headless out of the box, so it's always been a case of installing a package or creating your own API end points to achieve it I believe.
Thanks
Nik
You don't need 3. party things, to make things headless. That said, you can' directly serialize
IPublishedContent
, so you will need to write your own conversion logic.Either create a class inheriting from
RenderMvcController
that replaces the default Umbraco controller, or create one for each route you wan't to hijack. See: https://our.umbraco.com/documentation/reference/routing/custom-controllersEx:
You don't need headless to use reactjs in umbraco. It won't be SPA though. I am using umbraco and react.js for a while and the result is perfect. It is working with both 8 and 9 version
Example?
Hi Mahdi,
Can you provide an example for setting up Front end using Umbraco backend. That would really help.
Thanks, Anil Kumar
is working on a reply...