DEV Community

Discussion on: State Management with a Single Line of Code

Collapse
avkonst profile image
Andrey

Have a look into Hookstate hookstate.js.org. it is truly one line state management, but covers a lot of use cases and takes care of rerendering performance without extra effort from a programmer

Collapse
dabalyan profile image
Ankit Singh Author

hey Andrey, kudos for the amazing things you're doing with hookstate.

I remember stumbling on hookstate at some time when I was searching for alternatives to reducer based state managers, I really liked the hookstate. But as I don't have much experience or use case for React, I had to move on. I guess that's one of the differences that sets ActiveJS apart, it can be used with any framework, or even without a framework as well.

Collapse
robvirtuoso profile image
robvirtuoso • Edited on

I'm just keeping track of how this guy shamelessly plugs his HookState library seemingly everywhere. Promoting it is quite ok, but comparing it this way is not... I mean, does it have to be a competition who has the best library??? I find this self-promotion quite distasteful.

Collapse
avkonst profile image
Andrey

Could you please do a favor for everybody on the internet and educate all others, who post comments pointing out to alternatives?

Thread Thread
robvirtuoso profile image
robvirtuoso • Edited on

That would be easy because not a lot of them point to their OWN library as the "alternative". And much less would blatantly even imply that their library is the better one.

Your library is not bad at all, so just be careful not to leave a bad taste in people's mouths with your posts. It won't be doing your library any favor.

Thread Thread
avkonst profile image
Andrey

At least I am honest and publish it from my own single account and put a disclaimer. It would be quite naive to believe that "promotions" (not only about this category of libs) are done by other independent people if they are not done from "an owner's account".

Thread Thread
robvirtuoso profile image
robvirtuoso • Edited on

I'm not trying to antagonize you. I just hate the idea that independent open source contributors like you will get a bad reputation due to their posts like this. I find publishing open source libs a noble thing to do, especially for people who don't earn a dime from it. You seem like you belong to this category, so I appreciate your efforts. I actually help promote work of libs that I personally use, as a way of giving back to the author/maintainer. If your posts triggered a bad reaction from me, it may happen with others too. So again I wouldn't wish you that misfortune.

You may not be asking for advice from me, but if it was me I would not want people thinking that I'm doing this to compete with the big guys (Redux, Recoil, etc.) which are backed by a big corporation and fanboys... And nor would I ever say that my lib is superior to another , popular or new one.... open source is not a popularity contest after all. As long as a number of people actually use your library, i.e. it is helping some folks out there, it means you already are doing a good job.