Last active
October 26, 2018 16:38
-
-
Save peterpme/55a34244d12209423e1afbee90093ec3 to your computer and use it in GitHub Desktop.
Using match_, match in Reason Bug. `Broken-` prefix console.log(match) = undefined
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import { withRouter } from "react-router-dom"; | |
import Navigator from "./Navigator.bs"; | |
const Parent = ({ match, history }) => <Navigator match={match} history={history} />; | |
export default Parent; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import { withRouter } from "react-router-dom"; | |
import Navigator from "./Navigator.bs"; | |
const Parent = ({ match, history }) => <Navigator match_={match} history={history} />; | |
export default Parent; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment