@yyellowsun , welcome to the community!
Please provide a sample public repo of your actual repo or some example of your actual code. The above doesn’t help much to understand where you’re facing an issue.
To make this simpler, I’m providing some sample articles about integrating react with elixir and phoenix:
"Great", you might say, "yet another article on how to set up Elixir, Phoenix and React!" I myself h...
https://itnext.io/add-react-to-phoenix-92c590fbbc7f
https://betterprogramming.pub/using-react-17-with-phoenix-1-5-1b445526c739
https://medium.com/@resir014/a-phoenix-react-initial-setup-that-actually-works-c943e48f1e9e
Also, in the forum itself, found references of react questions:
I’ve been trying to connect React to my Phoenix project but continue to get an error. The error says
Error in ./assets/js/app.jsx
Module build failed (from ./node_modules/babel-loader/lib/index.js);
SyntaxError: path -> app.jsx
const HelloReact = () => {
return <div>Hello World</div>;
}
error points to < in
I feel like this may be a babel problem. I decided to move package.json, webpack.config.js and .babelrc to the top level due to a recommended approach on a guide I was following. Was h…
Hi
I am trying to make a shopify app using phoenix…
and shopify recommends using react js for the front end(Shopify polaris).
I am very new to React so I read some documents, and watched some tutorial…
Then I set up react with phoenix framework.
But I don’t still understand basics and couldn’t find a help.
How can I use such a form action in react front end?
How can I do submit a form in react ? so my controller do the job?
Hope, this guides in your adventure! Have fun!