News for hackers. Stuff that matters.
Re:React Simple Animate – UI Animation Made Simple by OmarIsmail on Tuesday May 28, 2019 @09:23AM (#20029720)
Looks like React animation libraries are popular right now.

Here's the one that I've been working on recently: https://github.com/ismailman/react-spho

My philosophy is different though that I want to make it absolutely dead simple to make UIs animate organically vs being a feature-filled animation library. I think React-SPHO is actually the easiest to use animation library for React available as most things you want to do "just work" and anybody reading the code using the library knows exactly what's going on without having to read any documentation so ramp-up for basic use cases is effectively instant.

Re:React Simple Animate – UI Animation Made Simple by leshow on Tuesday May 28, 2019 @10:45AM (#20030609)
Your library claims to be 'dual license' but your license file is empty.

Just my personal opinion, but it's unlikely anyone will pay for this given the amount of free alternatives, and it's unlikely anyone will use it in OSS projects because there is a paid tier.

Re:React Simple Animate – UI Animation Made Simple by slig on Tuesday May 28, 2019 @11:16AM (#20030966)
One reason why I might choose this paid library instead of a free alternative: it's made with TypeScript, and that means no fiddling with outdated type definitions (fixing and submitting updated types to DefinitelyTyped, talking the owner of the library to adopt types, etc) and no using a library without typings. That alone is worth at least a hour of my time.
Re:React Simple Animate – UI Animation Made Simple by baddox on Tuesday May 28, 2019 @11:29AM (#20031119)
I checked the first two React animation libraries I could think of, and they’re both written in TypeScript and MIT-licensed:

https://github.com/react-spring/react-spring

https://github.com/Popmotion/popmotion/tree/master/packages/...

Re:React Simple Animate – UI Animation Made Simple by OmarIsmail on Tuesday May 28, 2019 @11:35AM (#20031170)
Those are both very good libraries and I did a lot of research on them before deciding to write SPHO. I'm planning to write an article on my findings but I can pretty much guarantee you that SPHO will save you many hours over those libraries.

The funny thing is that even doing a proper investigation of the different libraries will easily take you over an hour.

Re:React Simple Animate – UI Animation Made Simple by leshow on Tuesday May 28, 2019 @03:01PM (#20033219)
The fact is the OSS alternatives do have high quality type defs so there's no trade off to be had here.

Like I said before, it's just my opinion, but I'd take a library with thousands of stars and a group of people maintaining it over something unknown and paid any day. If you think it's a good idea to pay for this, more power to you.

Re:React Simple Animate – UI Animation Made Simple by OmarIsmail on Tuesday May 28, 2019 @11:11AM (#20030910)
Licensing information is now available.
Re:React Simple Animate – UI Animation Made Simple by felipellrocha on Tuesday May 28, 2019 @01:10PM (#20032083)
> My philosophy is different though that I want to make it absolutely dead simple to make UIs animate organically vs being a feature-filled animation library.

Is OP's library not trying to be dead simple?

Re:React Simple Animate – UI Animation Made Simple by OmarIsmail on Tuesday May 28, 2019 @01:41PM (#20032443)
I think they sacrificed some simplicity for flexibility. e.g. having two different APIs (Component one and Hooks one) vs just one. That decision alone will have a very large cost initially and over time in working with the library.

I think hooks are cool, but this proliferation of two APIs when using/authoring libraries is concerning to me.

Re:React Simple Animate – UI Animation Made Simple by ha99ja on Tuesday May 28, 2019 @09:51AM (#20029968)
Why would anyone pay for your non-free software when there are hundreds of great alternatives?
Re:React Simple Animate – UI Animation Made Simple by OmarIsmail on Tuesday May 28, 2019 @10:00AM (#20030053)
Gonna write more on this but short answer is that developers time isn't free. If using React SPHO saves literally one hour in all the time you're using it (could be years) vs these other alternatives then you're already ahead.

And I tried to design it so that it saves you and your team a lot more than an hour.

Re:React Simple Animate – UI Animation Made Simple by jwr on Tuesday May 28, 2019 @10:29AM (#20030408)
I would pay if I found the library better than the free alternatives. Specifically, I would pay if the library allowed me to reach my goals faster: simple, well-designed, not doing too many things and well documented and maintained are the key factors.

One reason for paying is to ensure that the library is maintained: too many people out there assume that labor is free.

I would not pay for anything that isn't open source, though, because I do not want to become fully dependent on something that might disappear.

Re:React Simple Animate – UI Animation Made Simple by prezjordan on Tuesday May 28, 2019 @10:18AM (#20030243)
Because OP has an incentive to continue supporting his library
Re:React Simple Animate – UI Animation Made Simple by slig on Tuesday May 28, 2019 @09:45AM (#20029908)
Will have a closer look later today. It's always a pleasure to find useful libs written in TS, thank you!
Re:React Simple Animate – UI Animation Made Simple by bluebill1049 on Wednesday May 29, 2019 @06:14AM (#20038444)
Thank you too :) feedback welcome