3 ms·
The project I've been working on the past couple of months is a very similar stack to this—Phoenix, Absinthe, Apollo, React, Redux. The main difference is I've
by AlchemistCamp 8y ago
The project I've been working on the past couple of months is a very similar stack to this—Phoenix, Absinthe, Apollo, React, Redux.
The main difference is I've been using TypeScript and the Absinthe resolvers are using Dataloader.
- TN1ck 8y agoHow's the integration of Apollo and TypeScript? Do you like the stack and would you recommend it?
- AlchemistCamp 8y agoBoth apollo-client and react-apollo ship with definitions in their npm packages, so using TypeScript with Apollo isn't a problem. I don't like the stack. It's way too heavy. If I were building everything again now, I'd go with a standard Phoenix app and ditch Redux for sure and hold off on fullblown front-end frameworks and Graphql. I'd ship v1 with Phoenix, UJS and Turbolinks, and it would take 1/4 the time. Then, if the project grew to where it needed and could support a larger team, I'd bring in Absinthe, Apollo and then finally Vue. My main recommendation would be to keep things as simple as possible for as long as possible. Use something like Phoenix or Rails or Laravel and get stuff shipped.