29. 29
React + Apollo Client
Schema design
Apollo Server
Caching
Prisma
...
Speak to us
Tobias Meixner
tobias@brikl.io
Lucas Munhoz
ln.munhoz@gmail.com
Need help with GraphQL?
30. 30
I am excited to see what you are
Going to build with GraphQL
github@lnmunhoz
twitter@lnmunhoz
Thank you!
31. Gatsby @ BrikL
Next-gen e-commerce powered by Gatsby
Tobias Meixner
Co-Founder & CTO
Brikl Ltd
07 May 2019
33. Gatsby
● No native asset pipelining
● Slow, manual DOM manipulation
● Replicate elements by copy-paste
● Refresh to view changes
● State coupled w/ DOM
● ES5 + polyfill for cross-browser compatibility
● Create document-based sites
● Code splitting, responsive images, etc
● Virtual DOM & declarative UI w/ React
● Componentization
● Hot reloading
● One-directional data flow
● ES6 + ES7 automatically transpiled
● Create app-like experiences
Before: vanilla HTML, CSS, JS
=>
#2 Most Hated
Technology
=>
Now: higher-level lang + patterns
A cutting-edge stack built for iteration speed
Vision
34. Before: laborious content migrations &
manually stitching data sources together
Now: pull data from anywhere.
Build with React & GraphQL.
Gatsby
=>
Vision
Data & CMS-agnostic development
35. Gatsby
One-click global deployment
Vision
● Content delivery networks
● Global load balancing
● Server redundancy and failover
● Continuous deployment and integration
● Performance and error profiling
● Security vulnerabilities
● And so much more
Now: Easy & free CI/CD pipeline +
CDN to deploy your website
Before: website deployment requires ops
expertise // expensive hosting
+
36. Now: Out of the box tooling to
make everyone productive
Gatsby
● Maintained for you -- no upgrading dependencies,
starting five different processes in the correct
order, hand-rolling a build pipeline….
● Documented -- your new team member can
Google for help when they’re stuck
● User-friendly -- built-in hot reloading, see helpful
error messages instead of confusing stacktraces,
etc
Before: mostly-working env maintained by
your best devs in their spare cycles
A friendly local dev environment
Vision
● Maintained by you -- your best dev set up the
asset build pipeline, deploys, and dev server. She
handles library upgrades and is the only one who
understand how all the pieces fit.
● Undocumented -- new team members frequently
blocked on weird quirks you forgot to write down
● Stack traces of death -- bugs throw application
errors, NGINX timeouts, and other errors that
frontend developers find impossible to debug
38. What Gatsby code
does at build time
Source plugin Component
What Gatsby code
does at runtime
Gatsbysite
Transformer
plugin(s)
GraphQL
queries
Source plugin
Source plugin
Source plugin Component
Component
Component
GatsbyandWebpackgenerates
staticfilesatbuildtime
Static
host
Person visits site
and clicks on things
Site returns static files
62. Credits (Slidetheme)
Special thanks to all the people who made and
released these awesome resources for free:
● Presentation template by SlidesCarnival
● Photographs by Unsplash
62