systemseed / drupal_reactjs_boilerplate

Docker based Drupal / React boilerplate with Unit / API / End-to-end test coverage examples.
https://medium.com/systemseed/kicking-off-decoupled-drupal-react-projects-with-boilerplate-67253a8dee29
GNU General Public License v3.0
84 stars 30 forks source link

Trying to understand #51

Open ugintl opened 4 years ago

ugintl commented 4 years ago

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?

spleshka commented 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?

ugintl commented 4 years ago

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.

spleshka commented 3 years ago

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!

ugintl commented 3 years ago

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.

spleshka commented 3 years ago
ugintl commented 3 years ago

What do you say about converting the website to react mobile app using react native webview?