Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to understand #51

Open
ugintl opened this issue Oct 23, 2020 · 6 comments
Open

Trying to understand #51

ugintl opened this issue Oct 23, 2020 · 6 comments

Comments

@ugintl
Copy link

ugintl commented Oct 23, 2020

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
Copy link
Member

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
Copy link
Author

ugintl commented Oct 26, 2020

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
Copy link
Member

spleshka commented Nov 3, 2020

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
Copy link
Author

ugintl commented Nov 3, 2020

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
Copy link
Member

spleshka commented Nov 3, 2020

  • Everything will happen in the real time - well, from now on it depends on your implementation of the frontend app
  • If you want to learn, better create some small Hello World app and play with it. Converting the whole website just for learning reasons will be very time consuming

@ugintl
Copy link
Author

ugintl commented Nov 4, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants