Adonis 5 + ReactJs #1376
Answered
by
thetutlage
brenofreire
asked this question in
Help
-
Maybe I got it wrong. But is there anyway I can serve and render a react app with Adonis? We have edge but I don't know how to make it work with edge |
Beta Was this translation helpful? Give feedback.
Answered by
thetutlage
Jul 31, 2020
Replies: 1 comment 2 replies
-
Nope, we do not provide any helpers or methods to render React components. You can use standard react libraries to achieve that. However, I personally recommend everyone to keep the frontend and the backend separate. Your frontend code should just rely on the HTTP APIs for the data and then you can use AdonisJS to develop that API. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
brenofreire
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nope, we do not provide any helpers or methods to render React components. You can use standard react libraries to achieve that. However, I personally recommend everyone to keep the frontend and the backend separate.
Your frontend code should just rely on the HTTP APIs for the data and then you can use AdonisJS to develop that API.