Skip to content
This repository has been archived by the owner on Oct 26, 2018. It is now read-only.

Rename to react-router-redux #80

Closed
jlongster opened this issue Dec 6, 2015 · 35 comments
Closed

Rename to react-router-redux #80

jlongster opened this issue Dec 6, 2015 · 35 comments

Comments

@jlongster
Copy link
Member

@ryanflorence and @mjackson have invited this project to join the rackt set of projects since it aligns well with how they envision react-router and redux integration. I think it will essentially replace redux-router and that will live as its own standalone project.

We're considering renaming it react-router-redux as it will be more official bindings. Unless anyone has any better ideas, I say we go with it.

@ellbee
Copy link
Member

ellbee commented Dec 6, 2015

Will be great to have this project join rackt!

react-router-redux sounds good to me 👍

@kimjoar
Copy link
Collaborator

kimjoar commented Dec 6, 2015

That's great! 👍 💯

@arkist
Copy link

arkist commented Dec 7, 2015

good enough 🌟

@lukebennett
Copy link

👍

@omnidan
Copy link
Member

omnidan commented Dec 10, 2015

Sounds good! Just have to make sure it's not too confusing to have two react/redux routers that sound almost the same too. (redux-router vs react-router-redux) That could be solved with documentation though. (explaining the differences between the two)

@choonkending
Copy link
Contributor

I reckon go for it! Sounds exciting.

@jlongster
Copy link
Member Author

I'm going to set a date for this: Wednesday. I'll think through anything we need to do before then.

@jlongster
Copy link
Member Author

I stalled on this because I was worried about the rename, sync redux-router is also in rackt it seems like calling this react-router-redux is going to be super confusing.

@ryanflorence @mjackson Are you all sure you want to rename this? If so, I feel like we should either rename redux-router or do something so that it's not so confusing which is which.

@MattKunze
Copy link

Any reason to switch away from redux-simple-router? I usually cringe when things have "simple" in the name (argh SOAP!), but it actually seems warranted in this case

@jlongster
Copy link
Member Author

I think Ryan and Michael want it to be more "official" bindings. But I suspect with enough community feedback they might be fine keeping the name.

@gaearon
Copy link
Member

gaearon commented Dec 17, 2015

Maybe we can find a different name for redux-router too?

@ryanflorence
Copy link

We're removing the current redux-router from rackt, so there shouldn't be any confusion.

@ryanflorence
Copy link

@acdlite can you transfer it to your account?

@acdlite
Copy link
Member

acdlite commented Dec 17, 2015

Done! :)

@acdlite
Copy link
Member

acdlite commented Dec 17, 2015

@jlongster
Copy link
Member Author

Thanks for all your work @acdlite!

@jlongster
Copy link
Member Author

I just moved it, but I lost access to any settings. @ryanflorence can you help me figure out permissions? github is so confusing with permissions. How can I maintain admin access, as well as give it to kjbekkelund?

I can't rename the repo until I get access back.

@satazor
Copy link

satazor commented Dec 20, 2015

react-router-redux looks great to me... same as react-router but suffixed with redux.. Looking forward to this!

@naw
Copy link

naw commented Dec 23, 2015

Correct me if I'm wrong, but redux-simple-router just ties redux to a history object, and isn't actually react-specific. If so, react probably shouldn't be in the new name.

From a loose coupling perspective, you could imagine using this with a redux-based application without react-router at all (i.e. either a completely different non-react router, or perhaps a different react-specific router), as long as those routers were designed to interact with a history object.

@kimjoar
Copy link
Collaborator

kimjoar commented Dec 23, 2015

@naw Yep, as of right now we're not coupled to react-router at all, but we might end up going that route (see #95 — long discussion with lots of thoughts and ideas).

But yeah, either way, I also prefer redux-simple-router to react-router-redux.

@ryanflorence
Copy link

"Simple", "smart", or "tiny" always end up being lies or offenses. Eventually, your library becomes complex, surprising, or gigantic. If you're lucky, it simply remains an affront (purposeful or not) to other people's attempts at solving the same problem. I think the new name avoids both problems.

My personal interest in bringing it into Rackt is for an official answer to the question "how should I connect react router and redux?". I'd rather a library be named to answer a question v. explaining the (initial) complexity of implementation :)

@gaearon
Copy link
Member

gaearon commented Dec 23, 2015

What about redux-history?

(Edit: whoops, #80 (comment) and #95 (comment))

@kidwm
Copy link

kidwm commented Jan 7, 2016

Why not just use redux-react-router ?

@timdorr
Copy link
Member

timdorr commented Jan 20, 2016

@jlongster Have you made any decisions on this? Half of this issue was the move to rackt, which is completed. The other half is a rename, which seems to be less pressing (and would nullify the existing "brand" of the project). I'm inclined to say we're done here unless there's a strong desire to rename things.

@jlongster
Copy link
Member Author

This project has already evolved to be a little more complex, nothing crazy but I agree with @ryanflorence that the current name isn't very suitable to long-term decisions. Having simple made a strong point in the beginning but react-router-redux makes more sense.

We probably should have done this with 2.0.0. Why don't we do this in the next few days with a minor release?

@timdorr
Copy link
Member

timdorr commented Jan 20, 2016

Sure, sounds great!

I say at some point in the near future (this weekend?) we push a 2.1.0 release under the new name and then deprecate 2.0.4 under the old name with a warning about the name switch. I also say we keep releasing under both names until 3.0 hits (if ever), deprecating any releases under redux-simple-router with that same warning. Sound like a plan?

@timdorr timdorr changed the title Move to rackt/react-router-redux Rename to react-router-redux Jan 20, 2016
@jlongster
Copy link
Member Author

@timdorr Sounds good, but I don't think we need to keep releasing under both names. I heard from Dan Abramov you can tell npm to redirect it, so npm install redux-simple-router still works even if our package is react-router-redux. If that works, the biggest pain point goes away (both github and npm will redirect).

I might be remembering wrong... hope not.

@timdorr
Copy link
Member

timdorr commented Jan 20, 2016

It sounds like they can maybe do it for us, but it might be delayed or ignored: npm/npm#7515 I think npm deprecate is the preferred option for now.

@gaearon
Copy link
Member

gaearon commented Jan 21, 2016

No, I think only GitHub repos can be redirected. With npm you need to deprecate.

@jlongster
Copy link
Member Author

Oh, that's right. Isn't there at least a way to tell the user "this is deprecated, you should download react-router-redux instead"? I could have sworn there was, but I'm probably wrong. I'll look into it more today/tomorrow.

I'm not sure I want to keep releasing under both names, that seems like it could be more confusing, and just make people change it to get the new version. It shouldn't be too hard to change names, just find/replace.

@timdorr
Copy link
Member

timdorr commented Jan 21, 2016

Yes, that's what npm deprecate does.

@timdorr
Copy link
Member

timdorr commented Jan 22, 2016

We need to push a 2.1.0 for #218 and #225. That would be a good time to do a rename, so I can take care of all of that around the same time, if there are no objections.

@jlongster
Copy link
Member Author

Ok, that sounds good.

@timdorr
Copy link
Member

timdorr commented Jan 24, 2016

OK, kicking this off now. I'm going to merge in #218, update the URLs in the project, and then publish that as a 2.1.0 under the react-router-redux package on NPM. I'll then npm deprecate 2.0.4 and we'll be good to go.

@timdorr
Copy link
Member

timdorr commented Jan 24, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests