Open ugintl opened 4 years ago
Hi @ugintl, this is Drupal 8 on the backend + React app on the frontend. Can you explain what is your end goal trying to convert the site to a react app?
My goal is to have my existing drupal 8 or 9 site as a backend and react as frontend.
Further, I want to create react native apps as well. According to my research, webview will do the trick. Anyway, that is irrelevant here I guess.
Converting an existing Drupal site into Drupal + React is not a trivial thing at all. More over, it has a lot of hidden complexity. Mainly due to the fact that fully decoupled frontend loses all benefits of Drupal routing system as well as Drupal theming layer. Therefore I was asking about your objective to go a fully decoupled approach - there must be a really strong reason to do so!
Thank you very much for your informative reply. What I have understood so far is that in a decoupled frontend, everything will happen in real time. Second reason is learning.
From your answer, I can derive the it is a bad idea.
What do you say about converting the website to react mobile app using react native webview?
So this is a drupal 8 site, but not a normal one. It is a react web app. correct?
How can I convert my existing drupal site or a distribution to a react app?