This note provides extra context on the tutorial Create a Prismic powered Gatsby site from scratch.
At the time of my writing (Wednesday, June 10th 2020), there are two Gatsby plugins for sourcing your Prismic data.
I chose to use
There are pros and cons to each of these source plugins. (This issue)[https://github.com/angeloashmore/gatsby-source-prismic/issues/217] and the comments within give a great overview of the current state of things.
gatsby-source-prismic because it is lightweight (creating pages are not a feature of this plugin) and appears to have a better developer experience (I formed this opinion based on some light reading through each repo's issues). I anticiapte these plugins changing and will revisit this decision in the future.
I should create a macro or bash script or CLI command to be able to create new notes and blog posts with one command.
By using VSCode to write commits, I don't have to tab over to terminal. It also makes it much easier to write multiline commits.
Need to find a key command for staging, or somehow bundle it with
Maybe there's a quick way to write multiline commits in iTerm2 as well. I'll have to look into that.
To make it even faster, use keybaord shortcuts. The default keyboard shortcut for opening source control is
CTRL+SHIFT+G on a Mac. I changed this to
CMD+G which I find easier to remember and use.
Design is a form of communication. That is, we are trying to convey information to other people. When we communicate, it's important to do it well. We want to make it easy for other's to understand the points we want to make.
In order to clearly communicate, it's important to know your audience and how they understand information. In our case but also You communicate differently with your dog, than your colleague.
CMDwhen resizing a frame to ignore the constraint settings for all objects inside that frame.
CMD + SHIFT + F
/github subscribe owner/repo issues pulls deployments statuses public commits commits:all releases comments branches reviews
When using an
a tag with
target='_blank', it is important to include the attribute
rel='noreferrer noopener' to protect yourself from security risks.
This ESlint rule helps prevent accidentally forgetting to include the attribute in your JSX projects.
Add line highlighting