New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React + Router #332

Closed
dbabaioff opened this Issue Oct 29, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@dbabaioff

dbabaioff commented Oct 29, 2017

Hey Kent,
I'm working on a new React project and I wanted to ask you about the router
1 - I understand you can use different router libraries with React - which router you recommend to use with React?
2 - If I need to save data specific to a url (page data) - for example - the scroll position, the page number of a feed, what would be the best place to store ? in a module? redux? router library?
3 - One of the requirements of our project is to implement a cache for the router - each page the user visit, we make some ajax requests to an API to load data for this page. If the user come back to the same page he was before, we should load right away and not make another request(s).
What would be the best way to implement this?

Thanks!

@kentcdodds

This comment has been minimized.

Owner

kentcdodds commented Nov 16, 2017

Hi @dbabaioff!

I was locked out of my house for a few hours the other day so I recorded answers to a bunch of my AMA questions and put them up on my 3 minute podcast. Here's your answer!

@kentcdodds kentcdodds closed this Nov 16, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment