react-chrome-extension-router
react-chrome-extension-router copied to clipboard
message passed to component gets used up
Hello!
I was wondering if this was an error that you have:
What I tried doing with the sample code you have in the codesandbox and noticed that if I were to do this:
const Two = ({ message, sec }) => (
Click me to go to component 3. //doesn't know what message is
);
It seems to me that the button element had used the message prop that was passed into the component and now could no longer be used again in the Link element tag. If this is the case how should I go about passing props to multiple elements?
Hey @ltann thanks for filing this issue! Is there any chance you have a codesandbox example?