react: Consider using reactjs.org instead of fb.me in react's error/warning messages

Hi,

Facebook is blocked in my country (and I think in some other countries) and links like https://fb.me/react-invalid-hook-call are blocked for me, in order to see the related documentation of the link I have to use VPN. so if is possible please use another link shortener service or point to reactjs.org directly.

Thanks.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 18
  • Comments: 16 (6 by maintainers)

Most upvoted comments

We are considering this seriously. We are not sure when and how we’ll do this, but it’s on our minds. Thanks for the suggestion!

More data for this, fb.me is blocked inside lots of corporate environments as it’s considered “social networking”. While I’m working on getting it unblocked in my own firm, I don’t expect that to actually happen soon.

Thanks to @cylim for taking this issue and spending the time to solve it.

https://github.com/reactjs/reactjs.org/pull/3199 https://github.com/facebook/react/pull/19598

This will go out in 17.

@gaearon Yes. I am happy to do it.

I can see that reactjs.org is hosting on Netlify, and it is already _redirects using in reactjs.org website _redirects on reactjs.org.

Any preferred path for the short link? reactjs.org/{path}/{title}

I can start with link as the path, it can be change easily later on.

@threepointone @gaearon Sorry, my bad for creating the PR directly without asking. I was thinking about better to have working warning than waiting for perfect solution.

Redirect links might redirect to invalid links too, one of the example is fb.me/react-mock-scheduler

I would suggest to create something like _redirects netlify, so that the public contributors can helps to update/monitoring the links whether needed.

McAfee’s TrustedSource categorizes fb.me as “Social Networking” which is enough for my company to block it. I tried to make them change this categorization to “Internet Services” (like bit.ly) but so far I haven’t been successful, probably because fb.me (or any non-existing shortcut like fb.me/trololololololilol) redirects to facebook.com. I will try to make it unblocked but I have little hope so having reactjs.org urls in logs would be an improvement.