Devops

JavaScript

Moving our search drop down from Algolia to Alpine.js

- Posted in JavaScript

I recently added Algolia search to this website (ohseemedia.com). When deciding on how to implement the front end, I ended up going with Alpine.js and saw a ~200kb bundle size reduction by using Alpine.js over Alogolia's InstantSearch.js.

Laravel

Calling Laravel seeders from migrations

- Posted in Laravel

Seeders in the Laravel framework allow you to populate your database with fake/seeded data. As you probably know, you can call a seeder from within a migration using Laravel. This technique is used when you have data in your database that is critical to your codebase, like permissions. Permissions are referenced in your codebase, so they must exist in your database at all times as well.

PHP

React

React error boundaries

- Posted in React

React error boundaries allow you to prevent your React application from completely crashing in the event of an error in your code. 

Statamic

TailwindCSS

Thoughts

Tips

TypeScript