STRML / react-router-component

Declarative router component for React.
http://strml.viewdocs.io/react-router-component
MIT License
873 stars 94 forks source link

non-functional router in IE9 #166

Open zvitek opened 8 years ago

zvitek commented 8 years ago

Hi, im using react-router-component in version "^0.26.0" and work fine. But in IE9 does not work and teverything finish in last route "NotFound" I have no idea what im doing wrong.

<Locations>
   <Location path={'/'} handler={HomePage} />
   <Location path={'/choose-trainee'} handler={ChooseTraineePage} />
   <Location path={/\/feed\/([0-9a-z]{10})/} handler={WallPage} matchKeys={['user_Token']} />
   <Location path={'*'} handler={NotFound} />
</Locations>

cases: IE10 - mydomain.com/choose-trainee -> use handler 'ChooseTraineePage' IE9 - mydomain.com/choose-trainee -> use handler 'NotFound'

Thx for help