Rado's Blog
  • Home
  • Management
  • GraphQL
  • React
  • Ruby on Rails
Radoslav Stankov

Radoslav Stankov

Head of engineering at Product Hunt

62 posts •
productivity

My Advice to Junior Developers

Here are some of my tips on how to develop soft skills and habits to help to learn and grow as a junior developer.

product hunt

Remote Onboarding Software Engineers at Product Hunt

I'm often asked about the Product Hunt onboarding process for remote engineers. So here is the our onboarding process.

React

Extract React Hook Refactoring

How to extract custom React hooks to refactor complicated logic in your components.

remote

Tips & Tricks for Working From Home

Due to COVID-19, many people are forced to work from home. ​ I have been working remotely since 2006, here some of my tips and tricks.

React

Replace Conditional With Map Refactoring

This is one of my favorite refactorings. It helps to group logic, making code easier to read and easier to extend.

GraphQL

How Product Hunt Structures GraphQL Mutations

At the time of this writing, our codebase and related projects have 222 mutations. Here the guide on structuring GraphQL mutations.

React

Building Autolink Component in React

How to build a React component which takes the text with URLs and adds links there. It uses a little known string.split feature.

Rails

Improve ActiveRecord Polymorphic Associations

Polymorphic associations in ActiveRecord are very useful. A simple technique for explicitly listing which are the allowed classes.

conference

Announcing React.NotAConf 2019!

React.NotAConf is here for the second year. Join us on 11th May for a day full of inspiring React lectures by top speakers.

css

Separating list items only with CSS

How often do you have a list of items and have to add spacing or border between them? This is often boring work. Here is a simple trick on how to add spacing and spacers between elements.

books

20+ Books Developers Should Read ?

Books, I think every software engineer should read about coding, software architecture, databases, testing and UX.

ruby

Dealing with N+1 in GraphQL (Part 2)

How to deal with N+1 queries in GraphQL within Ruby on Rails project when Active Record's build in preload is not enough.

ruby

Dealing with N+1 in GraphQL (Part 1)

How to deal with N+1 queries in GraphQL within Ruby on Rails project using GraphQL::Batch gem.

React

<React.NotAConf /> Recap

Here is a recap of what happened during the conference ? ⚛️

GraphQL

Handling User Permissions in GraphQL

How to handle backend permissions and authorization rules in GraphQL, by exposing flags fields.

GraphQL

LoadMore with GraphQL and Apollo

How to handle load more buttons with GraphQL and Apollo.

React

Announcing <React.NotAConf />

The (not a) conference would be held 28th April at The Generator (Sofia, Bulgaria). It is free to attend. ⚛️?

productivity

Git Tricks

Git is powerful, but confusing at time. Here some the helpers I use, to make my everyday tasks like creating a pull request, rebasing on master and other simpler.

productivity

My Alfred Setup

Why I prefer Alfred instead of macOS build in spotlight search and what Alfred workflows, I use.

React

GraphQL Mutations and Form Errors

GraphQL's built-in mechanism for errors doesn't play well with forms. This is how I deal with form errors and GraphQL.

GraphQL

My GraphQL With Apollo Talk

I gave a talk at Frontend Developers Conference about how Product Hunt uses GraphQL with Apollo. Here are the slides and video of that talk.

React

Testing React Components Tricks

Couple of minor tricks, which makes testing react components easier and future proved.

GraphQL

Learnings From Graphql Europe

This weekend, I had the pleasure to attend GraphQL-Europe, the first GraphQL conference in Europe. This is a recap of most notable things I learned there.

GraphQL

Introducing SearchObject GraphQL Plugin

When I started using GraphQL, I immediately saw, that SearchObject would be a perfect fit for search resolvers.

ruby

Introducing KittyEvents

Super simple publish/subscribe pattern using ActiveJob. You setup your events and list the subscribers for them. When an event is triggered, KittyEvents will fanout the event to each of your subscribers.

Rado's Blog © 2025
Latest Posts Twitter Ghost