react-starter-kit icon indicating copy to clipboard operation
react-starter-kit copied to clipboard

How to implement routing and navigation

Open koistya opened this issue 11 years ago • 12 comments

docs/recipes/how-to-implement-routing.md
  • [x] Basic routing
  • [x] Asynchronous routes
  • [x] Parametrized routes
  • [x] Setting page title and meta tags
  • [ ] Redirects
  • [ ] Code splitting
  • [ ] Nested routes
  • [ ] Integration with Flux
  • [x] Server-side rendering

See also Universal Router

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

koistya avatar May 20 '15 09:05 koistya

Why can just use react-router

Sunil6591 avatar Sep 15 '15 10:09 Sunil6591

Yeah I was wondering the same thing, how do I use react-router? This isn't vert documented as is a bit challenging to figure out.

9mm avatar Sep 18 '15 19:09 9mm

I'm trying to figure out how to redirect based on an action.

Most of the posts Ive seen about react-router suggest getting the router from the this.context object but mine is empty. Any ideas?

MattReimer avatar Sep 18 '15 23:09 MattReimer

@koistya Any idea when the docs would be updated? Especially the docs for nested routes and code splitting.

subodh-malgonde avatar Dec 07 '15 11:12 subodh-malgonde

+1

learntoswim avatar Feb 16 '16 00:02 learntoswim

I agree with the react-router approach.

zomars avatar Mar 02 '16 01:03 zomars

react-router +1

abdifardin avatar Mar 10 '16 18:03 abdifardin

Nice demonstration :+1:

zazapeta avatar Mar 26 '16 08:03 zazapeta

What do we need to do to encourage the completion of these docs?

yookore avatar May 28 '16 04:05 yookore

I'm sure something of goals are met. Other are described precisely in standalone issues. Can everybody interesting into this update, reference other issues?

langpavel avatar Jul 13 '16 05:07 langpavel

@koistya I think more or less all goals mentioned here are achieved, except redirects.

Code splitting is demonstrated in feature/react-intl, not in router, but technically it is same..

langpavel avatar Jul 13 '16 05:07 langpavel

@koistya thank you very much for crating this issue! Unfortunately, we have close it due to inactivity. Feel free to re-open it or join our Discord channel for discussion.

NOTE: The main branch has been updated with React Starter Kit v2, using JAM-style architecture.

ulani avatar May 27 '21 19:05 ulani