dwyl / learn-react

"The possibilities are numerous once we decide to act and not react." ~ George Bernard Shaw
108 stars 22 forks source link

Handcrafting an Isomorphic Redux Application #4

Closed nelsonic closed 8 years ago

nelsonic commented 8 years ago

Milo wrote this excellent tutorial: https://medium.com/@bananaoomarang/handcrafting-an-isomorphic-redux-application-with-love-40ada4468af4

iancrowther commented 8 years ago

what do you need help with?

nelsonic commented 8 years ago

Good point @iancrowther I applied the help wanted because I need help deciding if this ("Redux") is the future or fad (i.e. still not convinced this is "better") ... I still find JSX "hacky" at best. And for a complete beginner there is so much syntax and vocabulary that it feels like "emperor's new clothes" ... what are your thoughts?

nelsonic commented 8 years ago

It's worth reading all of @gaearon's posts on the subject: https://medium.com/@dan_abramov

gaearon commented 8 years ago

Redux is not related to JSX in any way so your comment confused me a little. Anyway, here's a good article on JSX.

As for Redux, it's neither “future” nor “fad”—just one possible way of organizing state mutations. It's also nothing new: see Elm Architecture which matches Redux in some ways.

nelsonic commented 8 years ago

@gaearon thanks for the insight. :+1:

gaearon commented 8 years ago

One more thing about Redux: if you remove sanity checks and comments, it's 99 lines. Can't be that much to learn ;-)

iancrowther commented 8 years ago

good shares @gaearon

I don't really have an educated opinion on the matter as Ive not spent any time tinkering. does that mean I consider it a fad? possibly, but I think it's more like I have not found a "need" for it as traditional patterns have been sufficient.

i need a "html ain't broke" bumper sticker!

nelsonic commented 8 years ago

Moved to: https://github.com/nelsonic/learn-redux/issues/13