mxstbr / postcss.parts

A searchable catalog of PostCSS plugins —
http://postcss.parts
MIT License
46 stars 11 forks source link

Convert to redux, react-router, react-router-redux, and ES6ify everything #15

Closed browniefed closed 8 years ago

browniefed commented 8 years ago

Everything is now ES6ified, stateless components, redux, react-redux-rotuer, etc, etc, etc.

mxstbr commented 8 years ago

Holy guacamoly this is awesome, thanks so much Jason! :fire: Two small question and then I'll merge and deploy it. Thanks!!

browniefed commented 8 years ago

@mxstbr alright, should to go now.

himynameisdave commented 8 years ago

This is actually a convenient way for me to get a handle of integrating react-redux and react-redux-router, so yeah thanks a ton!

browniefed commented 8 years ago

Ah sorry about the conflicts, was working off my outdated master vs upstream merged changes. Should be fixed now.

browniefed commented 8 years ago

@himynameisdave nothing too crazy here, with react-router-redux you can just use Link as you normally would. However in our case for typing a search term we pull in push and replace which our action creators so we can live update the URL while someone types.

This also drives the input value, so there is no internal state, the value of the input is controlled entirely by the the URL

mxstbr commented 8 years ago

Awesome, thanks so much Jason, will deploy asap!