Closing a menu when a user clicks outside of it with React Hooks
How do you improve the user experience of closing a menu? Don’t require the user to click an X just to get back to the content.
Creating Active Links with Next.js
How do you make a link display that it is the current page with Next.js? Make a custom component that handles the logic for you!
Absolute Imports for Next.js
Want to avoid really long import paths with your Next.js project? Setup a jsconfig.json. Here is how to tell babel to use imports from your root.
Complexity and Concerns Grow for Web Development
We make it both easier and harder to build or the web every year. It is a moving target. But at-least we are starting to focus on the right things.
Making queries ACID in FaunaDB
FaunaDB allows for complex transactions to reduce multiple network calls. FQL has a learning curve, but mastering it offers advantages.
How to do a UPSERT in FaunaDB FQL
FQL is different but just as powerful as SQL. An UPSERT is a great example to show the flexibility of FQL and how you can compose it easily.
FaunaDB seems so ergonomic with React Hooks
A presentation of FaunaDB really impressed me recently, showing me how easy it is to use the composable FQL on the client with React Hooks. It really is built for the JAM Stack.
Easy Sitemaps for Next.js
Next.js does not create a sitemap.xml file automatically. Here is a fast way to add support.
Web Development is Hard
Web development is hard. I have had to change my beliefs just to handle it.
The Rise of Privacy-Focused Analytics
Privacy is becoming a larger focus on the web. New players in the Analytics space promise to bring better security around users data.