Skip to content

issues Search Results · repo:CharlesStover/use-react-router language:TypeScript

Filter by

19 results
 (86 ms)

19 results

inCharlesStover/use-react-router (press backspace or delete to remove)

Hi @CharlesStover 👋 I think this package has been causing some problems with people who are using React Router and getting 2 different copies of our context object. The problem is that you depend on react-router, ...
  • mjackson
  • 2
  • Opened 
    on Sep 25, 2019
  • #24

React Router lib has builtin hooks now. There is a blog post which details the future of the API.
  • expelledboy
  • 1
  • Opened 
    on Sep 22, 2019
  • #23

Running console.log(match.params); returns this image but this happens when I try to use typescript image
  • EvilSourcerer
  • 2
  • Opened 
    on Aug 31, 2019
  • #22

After updating to react-router-dom to 5.0.1 from 5.0.0 I am getting this error. bundle.js:70 Error: useReactRouter may only be called within a Router / context. at Object. anonymous (bundle.js:1) ...
support
wontfix
  • SaketSaxena
  • 5
  • Opened 
    on Aug 29, 2019
  • #21

Hello, thanks for the nice package! I ve just stumbled upon the problem when my component, that using useReactRouter hook cannot be tested, I m getting an error: useReactRouter may only be called within ...
wontfix
  • RusinovAnton
  • 2
  • Opened 
    on Jun 24, 2019
  • #20

O.K., this is not an issue, actually. This is just a personal thank you for those who contributed for this hook, specially @CharlesStover which authored it. To give you some context: we re already using ...
  • chiefGui
  • 1
  • Opened 
    on Jun 5, 2019
  • #19

using react-router work, but wiht user-react-router does not work. // if there is no personId in query string than set 1 - ?personId=1 const urlParams = new URLSearchParams(location.search) const selectedPersonId ...
help wanted
more information needed
wontfix
  • klaky
  • 1
  • Opened 
    on May 31, 2019
  • #18

Just giving you a heads up that you probably want to pin all your dependencies (peer or not) of react-router to 5.0.0 exactly. There is a open PR to rename the __RouterContext export. But it s a good ...
  • StringEpsilon
  • 1
  • Opened 
    on May 23, 2019
  • #17

Getting this error in the console even though I ve confirmed I have react-router 5 and react-router-dom 5 installed. Any ideas why this might be happening?
enhancement
  • mikecfisher
  • 11
  • Opened 
    on May 16, 2019
  • #16

The @types/react-router was updated to match the latest react-router release 5.0.0. Since that the following line of code is broken. const routerContext: RouteComponentProps T = useContext(__RouterContext); ...
more information needed
  • danielsogl
  • 2
  • Opened 
    on May 13, 2019
  • #15
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub