RSSAmplifier

Blog

Pragmatic Pineapple RSS feed

A blog by Nikola Đuza that aims to spread knowledge and give practical tips on JavaScript and Ruby.

pragmaticpineapple.comRSS feed ↗60 posts

Latest posts

Write Blogs So LLMs Have Something to Read

The theory of dead internet. The ever growing rise of chat interfaces where you ask, quickly get an answer, and blindly believe it (or apply…

Stress-Free Website Testing for Instagram and Facebook In-App Browsers

As a web developer, you encounter many challenges during website development. Often, we need to ensure our code works in a bunch of browsers…

Ultimate Vim Vue Setup

I’ve recently started working with Vue 3 and Nuxt 3 so I had to figure out how to get proper development experience in my favorite editor…

Deploying and Configuring Lighthouse CI Server

If you are into web development, you must have come across the term “Lighthouse score”. It is a unanimous way of measuring how well the…

Using Server-Sent Events (SSE) to Stream Data in Rails

Usually, a page sends a request to the server to receive new data. That is how most of us develop the web nowadays. What if I told you there…

Control Your Dev Processes with Overmind

If you’re wondering how to run multiple processes in your project, look no further. You came to the perfect place where you’ll learn how to…

How to Upload Files in Angular

In today’s interconnected digital landscape, file uploads have become essential to creating web applications. Whether you’re building a…

How to Upload File in React

React is one of the popular tools for building user interfaces and is a skill worth knowing. If you’re building something with React, you…

A Guide to Handling Errors in Preact

To err is human. It happens all the time. If we don’t account for errors on our websites, then our users will get an awful browsing…

How to Sync Your Storybook Design System Into Figma

We’re excited to announce Design System Automation by Anima, which automatically turns your Storybook into a native Figma library, then…

Building Websites with JamStack: A Look at the Benefits and Limitations

For some time now, Jamstack has asserted itself in the space for creating modern websites. The name Jamstack comes from the “JAMstack…

8 Free Hosting Services for Your React App

Wanna launch your React app fast and easy, with the option to scale? These serverless hosting solutions can help you go live in a jiffy…

Adding custom HTML and CSS to GitHub README

Are you tired of the same old, same old personal GitHub profile README? Or are you just looking for inspiration on what to do with your own…

A Guide to Service Workers

Web developers or anyone involved in web development can tell you they know of “workers” in browsers. However, the problem is that most…

What's New in Next.js 13

Version 13 of Next.js, a well-established React framework from the Vercel company, was released last week. The announcement was made at the…

How to Preview localhost Website on Mobile Phone

Are you looking to preview your website on your mobile (or tablet) while developing it on your computer? Or vice-versa? Maybe you want to…

A Guide to Intersection Observer

At some point during your frontend career, you probably had to or wanted to, figure out where an element is related to the scrolling…

Create a URL shortener with Cloudflare Workers

Have you ever used tools like Bitly or TinyURL to shorten long links? Or, have you wondered how these services work? Maybe you wanted to…

How to Handle Errors in React

Let’s face it. Nobody wants to see a broken, empty page while surfing the web. It leaves you stranded and confused. You don’t know what…

What's New in React 18

Some exciting new improvements have been launched with React 18. When React 18 was announced a year ago, the team promised a gradual…

DevOps JavaScript - Intro to Writing Scripts With zx

So you just read DevOps and JavaScript in the same sentence. Are you mad or madly curious? In any case, you don’t put these two together…

Add Newsletter Subscription Form to React Website

🥦 This blog post is updated to work with the recent ConvertKit v3 API and is using endpoint If you are a developer and do not like the…

How to Migrate Your Blog from Gatsby to Next.js

A while back, you were probably looking for a great solution to create your blog, and Gatsby was the most popular solution floating around…

Smoothly Reverting CSS Animations

Hey there, you probably tried to animate some HTML elements in your time using transitions, transforms, and animations in the CSS. I tried…

Gentle Guide to Get Started With tmux

You ended up here probably because you are looking to level up your command line skills. And that’s fine, it is the exact same reason I am…

General Ruby on Rails Problems and Takeaways

Welcome to the last part of my Ruby on Rails Patterns and Anti-Patterns series. It’s been quite a ride writing and researching all of these…

5 Essential Tips for Testing JavaScript UIs

When it comes to writing tests for (JavaScript) UIs, you either like it or not. But, if you’re inside a company that demands a certain test…

4 Useful fzf Tricks for Your Terminal

Welcome, you are probably interested in using one of the best tools for command-line - fzf. fzf is a command-line tool for fuzzy searching…

Three Ways To Avoid Duplicate Sidekiq Jobs

Chances are, if you are writing Ruby code, you are using Sidekiq to handle background processing. If you are coming from or some other…

Reducing Boilerplate With Vim Templates

If you’re a terminal junkie like myself, you are going to love this one. Today we are going to explain how you can avoid writing boilerplate…

Ruby on Rails Controller Patterns and Anti-patterns

Welcome back to the fourth installment of the Ruby on Rails Patterns and Anti-Patterns series. Previously, we covered patterns and anti…

Why Write Rails View Tests

There are many ways to test a Ruby on Rails application, but there is one way that is not so often discussed. That is the way of testing…

7 Ways to Debug Jest Tests in Terminal

Welcome, you probably searched how to debug your test with Jest. I am glad you found this blog post because you are about to learn 7 ways to…

render_async Adds Support for Rails Turbo

This blog post will explain all new features and how they came to be in the latest 2.1.9 version. We will start of with the new Turbo…

Ruby on Rails View Patterns and Anti-patterns

Welcome back to the third installment of the Ruby on Rails Patterns and Anti-Patterns series. In the previous posts, we covered patterns and…

Add Updated At To Your Gatsby Blog

A great tip towards building your site reputation is keeping your content up-to-date. Many websites and especially bloggers, do this from…

Ethical Programming - Is It Worth It?

The software has poured into almost all areas of our lives throughout the years. It remembers phone numbers of our loved ones, it finds the…

Ruby on Rails Model Anti-patterns and Patterns

Welcome back to the second post in the Ruby on Rails Patterns and Anti-patterns series. In the last blog post, we went over what patterns…

Improving Vim Workflow With fzf

If you never heard of fzf, it is a very handy general-purpose command-line fuzzy finder. Besides command-line, it is also a popular Vim…

Reloading Rails Partials on Demand with render_async

The new version of render_async is out, and one of the most requested features is out with it as well! Read on to find out about the…

Rails Concerns: To Concern Or Not To Concern

If you’ve ever used Ruby on Rails, you’ve probably come across the concept of concerns. Whenever you jumpstart a new Rails project, you get…

Setting Up Gatsby Blog From Scratch

Welcome to Gatsby (or GatbyJS), a powerful framework for static site generation that leverages GraphQL and React. Gatsby’s popularity…

Introduction to Ruby on Rails Patterns and Anti-patterns

Welcome to the first post in our series about Ruby on Rails Patterns and Anti-patterns. In each of the posts, we’ll take a deep dive into…

Why Should You Learn Vim in 2020

Ah, yes, Vim, the powerful text-editor that is everywhere and a place where even the wisest can’t quit. You had to hear about it at least…

render_async 2.1.7 Lets You Retry Requests With Delay

In this blog post, we will explain all new features and how they came to be in the latest 2.1.7 version. Hey, thanks for reading about the…

How Did Vim Become So Popular

You probably heard of Vim, the almighty text-editor that is everywhere and a place where people get trapped from time to time. If you are…

Do Not Follow JavaScript Trends

It is one of those days. You typed in twitter.com in your browser and you saw a new tweet from someone on how to use React Hooks. But, for…

JavaScript Growing Pains: From 0 to 13,000 Dependencies

In today’s post, we’re going to demystify how the number of JavaScript dependencies grows while we’re working on a relatively simple project…

render_async 2.1.6 released

In this post, we will go through all the changes that are in the new 2.1.6 version. Some of the new changes and bug fixes were pretty…

Ultimate Vim TypeScript Setup

Vim is great. I have been using different text editors and IDEs through years, and Vim stuck with me through all hardships and happy times…