2022-11-28
|~2 min read
|390 words
Recently, I wanted to introduce permissions to an app I was building. Keeping things very simple to start, I decided to have two permissions…
2022-11-28
|~3 min read
|559 words
Yesterday, I wrote about querying with Apollo. If you haven’t read that, I suggest starting there as it serves as the basis for the files I…
2022-11-28
|~5 min read
|806 words
After we’ve hooked up our Apollo client to React1, we can begin to query the server. Before Hooks, this was done using Render Props.2 Today…
2022-11-28
|~4 min read
|770 words
Things we’ll be covering: Creating an Apollo Client Connecting the client to React Creating An Apollo Client I’m working in NextJS, so my…
2022-11-28
|~1 min read
|149 words
In GraphQL if your queries are the same going from the client to the GraphQL server and the GraphQL server to the backend (e.g., React…
2022-11-28
|~4 min read
|621 words
Recently, I wrote about prototyping graphql queries without connecting to a data layer. At some point, however, the goal is to actually be…
2022-11-28
|~2 min read
|386 words
Imagine the following GraphQL schema for retrieving data about dogs: Highlights: Dogs have a name (always) and a breed (sometimes). Querying…
2022-11-28
|~2 min read
|324 words
I was running through a few different tutorials of Prisma recently when I ran into an error when trying to use a hook. After initializing…
2022-11-28
|~5 min read
|812 words
After thinking more about Lee Byron’s talk and some of the uses for fragments1, I still had some questions. Specifically - how do you reuse…
2022-11-28
|~1 min read
|145 words
Previously, I wrote about writing a GraphQL query that takes variables. I was using this to programmatically create posts. In returning to…
2022-11-28
|~4 min read
|728 words
When I set up my previously, I noted that if there were multiple file systems that I wanted access to, all I need to do was to duplicate…
2022-11-28
|~8 min read
|1500 words
Alright, I’ve been building to this point! Time to generate new pages for a blog programmatically using Gatsby! Previously I wrote about…
2022-11-28
|~2 min read
|294 words
My dive into Gatsby continues. Today, I wanted to better understand how dynamic queries worked in GraphQL. For example, my blog (which I…
2022-11-28
|~2 min read
|346 words
Continuing my learnings in Gatsby and today I found out a few new pieces about the filesystem plugin, .1 The filesystem plugin is from…