Gnarly Learnings from January 2023

A graduate is with a friend holding a diploma and taking a selfie. There are animated tentacles coming out of the phone.

We love reading, watching, and listening in order to keep our skills sharp and our perspectives fresh. Here are some of the resources we learned from this month. bin/rails notes Code comments are a pretty controversial topic but if you’re a rails developer and you’re in favor of them you should definitely check out bin/rails…

Read More

Gnarly Learnings from December 2022

We love reading, watching, and listening in order to keep our skills sharp and our perspectives fresh. Here are some of the resources we learned from this month. OWASP Top Ten It’s important to stay sharp when it comes to online security. The Open Web Application Security Project, or OWASP, is a non-profit organization dedicated…

Read More

Gnarly Learnings from October 2022

We love reading, watching, and listening in order to keep our skills sharp and our perspectives fresh. Here are some of the resources we learned from this month. The Practical Effects on the GVL on Scaling in Ruby In “The Practical Effects of the GVL on Scaling in Ruby”, Nate Berkopec provides a great practical…

Read More

Gnarly Learnings from September 2022

We love reading, watching, and listening in order to keep our skills sharp and our perspectives fresh. Here are some of the resources we learned from this month. An Introduction to Ractors in Ruby 🚨 Experimental feature alert! 🚨Ractors were introduced in Ruby 3 and represent an actor-model abstraction. Ractors provide true-blue parallelism and do…

Read More

Infinite Scroll React Example with TypeScript and NextJS

For the uninitiated, infinite scroll (otherwise known as endless scroll) refers to a method of automatically loading data when a user scrolls to the bottom of their screen, allowing them to continue browsing content with minimal effort. If you’ve been in the front-end game since the good bad old days when jQuery was bleeding edge,…

Read More

Gnarly Learnings from July 2022

We love reading, watching, and listening in order to constantly update our skills and learn new perspectives. Here are some of the exciting pieces we learned from this month. The most underrated Rails helper: dom_id Despite being around for over a decade, a number of us at The Gnar have never interacted with the dom_id…

Read More

Hotwired Modals

Car in a claw machine

We can use Hotwire — specifically, Stimulus and Turbo — to create some modals that present a nice, dynamic user experience. And they can do this while staying in a mutli-page app structure that Rails is so good at. First off, we need to know that, with Turbo, you can load a page with a…

Read More

February Gnarly Learnings #1: An Introduction to Propshaft

What an exciting couple of months it has been for the Rails community! Rails 7 was released in December of 2021 and this month we are welcoming Propshaft. David Heinemeier Hansson (DHH), the creator of Rails, released a post on Feb. 11 introducing the community to the new and improved asset pipeline for Rails. While…

Read More

Understanding Observables in RxJS

Do you want a different way to handle state in your Javascript applications? Then I suggest giving Reactive Programming a try, and more specifically, RxJS. RxJS is a framework-agnostic library that provides tools for applying the Observer pattern. RxJS has extensive operators for handling state, and it is equipped with asynchronous event management functions. This…

Read More