Echo JS 0.11.0

<~>

tracker1 comments

tracker1 8 days ago. link 1 point
The biggest down side is GPLv3... which won't work if someone wants to use it in a GPL+Commercial product downstream.  I understand the desire to monetize this component library, but it definitely precludes it for a lot of backed project usage.

Not sure I could even suggest a good alternative depending on the desired usage/outcome.
tracker1 8 days ago. link 1 point
That's cool... and I literally meant Redux as a state machine on the server, have considered doing this for shared state app, and then sending JSON diffs to the client via WS, then client events likewise bubble to server as a round trip.

This would be for a shared learning environment/simulation... though could probably work for a game where some level of lag is tolerable.  Such as a shared board or card game, etc.
tracker1 12 days ago. link 1 point
Cool, made an issue/suggestion to tweak holidays slighrly.

Could definitely see this as part of a larger application that included calendar management, or even a reduced app that worked in concert with a CalDAV service.
tracker1 12 days ago. link 1 point
Interesting, but only part of a solution.  Aside: what's up with that version number?

I've given a lot of thought to needs that this would fit, and I've mostly considered the use of Redux, or something closer to it.  The other part of the issue is what to do with that data, this is where you will likely either be replicating state changes/diffs across something like websocket channels or you will wrap that into something like Apollo for GraphQL updates similarly.

In any case, this really feels like only a small part of what you might need for a solution, and really need to consider how this fits and if it really suits the needs of an application/solution whole.
tracker1 12 days ago. link 1 point
You could also maybe apply a css filter/transition for mousedown-up to adjust the color slightly towards white/black depending on the mode.
tracker1 15 days ago. link 1 point
I really like your work on this.  The only things I would probably change, would be to make button interactions "do" more on-click.  Also, I'd probably have the text/textarea etc have an "invalid-color" attribute that applies to the text/border when the component is invalid, or have some other target beyond wrapping the entire component itself.

I also tend to activate validation as part of onBlur and keep it through all change events from then onward, red while invalid to green when corrected.  Haven't really played with the library much just looked through the components themselves.  I just tend to pay extra attention to the form fields, date pickers and a few other areas that a lot of component libraries tend to miss.

Definitely appreciate all your work on this and it's very cool indeed... may play with it for a small yew project I've been thinking of.
tracker1 27 days ago. link 1 point
Not really a good current example.  In the past I've done the redux integration with react-router and a few other bits... that got "interesting" to say the least.  So I know enough to know it's a pain to hard wire all of it up and get it working to trigger from/to the browser, redux, etc and having things sync right.

If I were building from scratch today, I'm somewhat inclined to look at tanstack router, not that I'd use all of tanstack.  React-Router itself has just been kind of a mess along the way.  It's been a couple years since I've been able to start a UI project from scratch instead of inheriting what's already in progress though.
tracker1 30 days ago. link 2 points
Not sure I appreciate the title... I had a bit of a visceral reaction to the title because I had expected an advocation for a brute force method over the (Map|Object).groupBy static methods that are mentioned.

As opposed to something like: "For Array to Object Mapping, Use groupBy Not reduce"
[more]