Why I’ve never used Redux. Chapter 1: The reasons

First of All, I hate Redux. And there is a lot of reasons why.

Monolithic

When I was using Vue in my projects, I always hate moving my state to Vuex. You always think too much on whether you need this state to be global or not. Also, making another one store module always sounds as a big task, making your decisions even harder.

This is so bad!

Most of the time, when you say “I need this state to be global”, it isn’t. Because it’s still local, but you need to use it in a couple of components

Monolithic structure also has another problem. You have to use reselect and other stuff to get your data. Just a couple of questions which noone will answer

  1. Why should I keep an eye on state updates, and why my whole app might suddenly re-render when I change the counter?
And you know the answer, why (except React issues)

If I had a couple of small stores, I could use them directly. But with Redux I have to go through the whole state and be sure it’s not being re-rendered by some side-effect

Pseudo-simplicity and different kitchens

Redux also struggles from its “simplicity”.

Nuff said
I just want to fetch something. WHAT A F***?!
Creator confirms

Instead of thinking on core concepts and how to make things right, people’re just looking for better oars to paddle easier

Weird API

I always thought that all concepts should be simple-to-use and easy-to-understand. Even if you’re not familiar with programming. We all know about KISS, Occam’s Razor and other beautiful words.

  • Button (you know, those things that we click on)
  • And action (just make the number bigger)
Pretty simple and intuitive, right?
A bit different, but still simple and intuitive
Alright…

Try to explain Redux to anyone who is not familiar with programming. It’s gonna be a tough time

Conclusion

It might look like nagging but that’s how the reality looks like.

— Stricty pants nerd that sounds like total dork (according to one of the readers) — Also YOLO JavaScript Engineer with galactically diverse experience

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store