DEV Community

Discussion on: Yet another website rebuild

Collapse
 
mazz profile image
Michael

How does making a Phoenix app with eex templates compare with Absinthe+React? graphql/absinthe looks great but concerned about not-so-obvious pitfalls.

Collapse
 
jackmarchant profile image
Jack Marchant

I think they’re for different use-cases. If you’re building a web app with lots of interactivity then it makes sense to defer some responsibility to the client, but in my case I have a list of posts and no need for JS, so when I built the same thing with React and graphql previously it was much more complicated.

That said I use React and Absinthe a lot in my day to day work, and I know there’s some difficulties in using Absinthe before you’re familiar with it. The creators released a book recently: pragprog.com/book/wwgraphql/craft-...

Collapse
 
mazz profile image
Michael

I was thinking starting out with Eex and then once there are more interactive needs, add Vue.js to the stack. Elm or React both seem like tech that takes a lot of time investment while Vue.js hits the sweet-spot between features and learning curve.

Thread Thread
 
jackmarchant profile image
Jack Marchant

That sounds like a great idea. You can incrementally add more features to sections of the page while still able to get the best of both worlds.

Thread Thread
 
mazz profile image
Michael

I bit the bullet and purchased

pragmaticstudio.com/unpacked-bingo

And I’m not disappointed. Shows you how to setup either Elm or Vue.js and really helped me understand how they should interact with Phoenix.