Well hey there! 👋 I’m Paul, I’m a React UI Developer / UX Engineer and a long long time ago I was a designer but after a few years of pixel pushing I realized code is just better!
I first found Gatsby because of my requirement to create a new, public and Search Engine Optimized web presence. I needed a commercial portfolio and a blog and I wanted them to look and feel the same. I also wanted a way to easily update both entities separately, but didn’t want to suffer poor SEO in favor of “content managed” third party fetched data. Ideally I wanted to build these sites using React but always disliked the poor SEO performance using a framework like React produces.
After a little research I discovered that Gatsby is just React…BUT it still maintains effective Search Engine Optimization by creating static HTML pages with real and actual Google indexable metadata and Open Graph images for each and every page or post!
When the penny dropped it was an absolute hammer blow!
With Gatsby you get back all that good stuff we kind of lost when “Websites” became “Single Page Applications” built with React.
So for 100 days I posted literally every day about the work I’ve been doing in and around the Gatsby eco-system. If you have a spare 103 minutes you can read about the full 100 days here. But because I know you’re all busy busy people, here is the tl;dr summary version.
This is proof that Gatsby can be more than just blogs. Skin UI is a full stack Gatsby App with client-only routes, Netlify Identity, an Apollo/GraphQL serverless function API, and Fauna for database storage.
Using the Skin UI editor and live preview you can tinker with Theme UI’s theme object and see the styles update the markdown and Theme UI Components right in your browser. You can also save, share, edit and download your theme.
I believe this project has legs, but I also need to do a bit more work on it before it’s all singing and all dancing. I have it on good authority that something similar will make its way in to Blocks UI… psst hey Gatsby I’m available to help build it 😊.
This was my second attempt at developing a theme and after making a bit of a mess of my first one gatsby-theme-gatstats I went back to the drawing board and decided to see if it was possible to write a theme with zero components. This is an odd concept if you’re coming form WordPress, but with this theme all I’m providing are some neat little data components that help you query the nodes from GraphQL. Plus a very light skin that styles all markdown and all components provided by Theme UI Components. If you’ve read above about Skin UI this theme is essentially Skin UI but with some extra bits thrown in.
Having worked on Gatsby Themes for about a year now I think this approach can be really powerful. Component shadowing is awesome, don’t get me wrong, but if you decouple the “components” from a theme and just provide data and styles the user then has full control over their UI. No more hacking over the top of CSS and no real need to shadow a “component” to change the way it looks or functions. This approach means you can just build anything you want using the components from Theme UI and boom 💥 you’ve got yourself a totally custom blog, site or application.
It seems fitting that if I want folks to use my theme: gatsby-theme-terminal I should give them a helping hand. So here’s a starter to… er… get you started 🤗
It’s a pretty bare bones example of how to use the theme but it does demonstrate how to use component shadowing for the logo and how to provide a custom Theme UI object to style the theme your way. I believe the 2 stars it has on GitHub speak for themselves 🌟😂.
I think perhaps this a unique concept that the masses just aren’t ready for yet 🤔. With this plugin you can get an overview of all PropTypes in your components, turns out that most developers building Gatsby sites don’t use PropTypes. In fact i’ve been working on a much larger project where PropTypes haven’t be used at all…if you’re doing this…then just stop it!
I’m a massive TypeScript fan but when not using TypeScript, PropTypes are the next best thing. And when building component libraries (which I’ve done a lot of) I have found it crucially important to provide a consistent API for props.
PropShop aims to help you with this by providing a holistic view of all defined PropTypes in your project, all in one place.
Thanks! This is a really cool idea!
(If anyone in Gatsby Admin happens to read this, again, I’m available to help build it.)
In the true spirit of open source I wanted to contribute to the libraries I use and love, and what better time than 100 Days of Gatsby to do this? I noticed a request for collaboration on Theme UI Components by the Gatsby team who were switching everything over to TypeScript. This kind of work is right in my wheel house so I set about converting the package to TypeScript. Unfortunately I ran out of talent and the PR remains open. I believe there are bigger pieces of work that first need to be completed before this will be looked at again. However, if I suddenly become a TypeScript guru I’ll be certain to pick this back up.
Continuing with my interest in Gatsby plugins, this was inspired by gatsby-remark-oembed. This is great plugin and allows you to use all sorts of media embed codes in your markdown blog.
Yeah… markdown… what about MDX?
Spotting a gap in the market I developed this plugin to bring all the same embedded-able joy to MDX. Since MDX is essentially a superpower, much more can be achieved when combining it with
<Box> from Theme UI Components. Imagine doing a full screen YouTube video wall on one of your blog posts, or displaying an entire Twitter timeline next to your content!
That’s all possible with this plugin. There are few shortcomings with the way the props are required for each of the components and I do hope to develop this further so it’s easier to use but for now if you want to embed Twitter, YouTube Instagram and many more in to your
.mdx without imports, this is the plugin for you!
OK, true confession, I started building this plugin before the challenge came about and before I’d truly discovered MDX and Theme UI Components. But I was wondering why people didn’t need Bootstrap style containers, rows and columns in markdown (and, for the record, I still don’t know the answer to that question ).
This plugin was a head first dive into the Markdown Abstract Syntax Tree and allowed me to understand what markdown and MDX do under the hood. Using visitor patterns I was able to bring responsive mobile first layouts to tired old single column markdown files.
Again, officially speaking, I started this plugin before the challenge started. However, I did continue to develop it over the course of the 100 days and released multiple updates as new requirements became clear. I’ve also used this plugin in my theme gatsby-theme-terminal.
Extracting navigation routes for locally sourced
.mdx files using GraphQL in your project isn’t a huge task in itself. But I try to be helpful, so this plugin aims to separate the business logic of finding, sorting and listing routes from styling those routes as links or lists. It was the start of my thinking process about separation of concerns which I then used more effectively in gatsby-theme-terminal
I love this plugin! Who wouldn’t want sticky header tables in your markdown?!
I developed this plugin back in December 2019 and as my following grew so to did the GitHub issues. I always tried to resolve these quickly and it was a gentle introduction to life as an open-source developer which I really rather enjoy. I’ve found that helping people use software I’ve written is actually very rewarding!
So if you do want big tables in your blog but don’t want neverending page scrolls, then keep it sticky with gatsby-remark-sticky-table
… and finally, GatStats.
This was the whole reason I got into Gatsby. I released GatStats in December 2019, before the challenge started. Due to the new exposure, though, more and more issues were raised on GitHub so I continued to support and develop this over the course of the challenge.
Knowing what I know now, post my 100 Days journey, I think it’s time to retire this theme. Ultimately I would like to rebuild it using all my learnings from other Gatsby work. Also, I still want to create a dashboard theme but not sure this is it, I think there’s another, much better way to approach it…Maybe 100 Days of Gatsby 2021???
(Apologies in advance if you’re using this theme. They’ll be an update soon about how to migrate).
… and that’s it 💥
Big shout out to the Gatsby team, all the folks who use the technology, plus everyone I’ve interacted with on Twitter over the past three months. It’s been an absolute pleasure.