V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
tikazyq
V2EX  ›  React

请教一个 routing 问题

  •  
  •   tikazyq ·
    tikazyq · Jul 26, 2016 · 2531 views
    This topic created in 3570 days ago, the information mentioned may be changed or developed.

    最近在学 React , follow 了一下这个 example: https://github.com/reactjs/redux/tree/master/examples/real-world 。但是有个问题:当跑起来之后,打开 localhost:3000 ,输入 git username ,然后点“ Go ”,发现 URL 变成 http://localhost:3000/username 。我翻遍源码也没找到触发 routing 的逻辑。。。

    请大大们指点一下~~

    1 replies    2016-08-03 16:41:14 +08:00
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2802 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 13:54 · PVG 21:54 · LAX 06:54 · JFK 09:54
    ♥ Do have faith in what you're doing.