Nice guide! How would you send data to the frontend in this scenario? Do you create an API that React will consume or are you going to still use Phoenix's offerings and just sprinkle React wherever needed?
Our tech stack of choice these days is GraphQL: absinthe-graphql on the Phoenix side, react-apollo on the browser-side, though if you're stuck with REST then mix phx.gen.json gets you most of the way there.
You just gave me great idea for a follow up article, though. Thanks!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice guide! How would you send data to the frontend in this scenario? Do you create an API that React will consume or are you going to still use Phoenix's offerings and just sprinkle React wherever needed?
Our tech stack of choice these days is GraphQL: absinthe-graphql on the Phoenix side, react-apollo on the browser-side, though if you're stuck with REST then
mix phx.gen.json
gets you most of the way there.You just gave me great idea for a follow up article, though. Thanks!