I’m currently using Meteor+react
My problem is I have two components
- HomePage
- PopupPage
in HomePage
const hello = {
title: “Popup page”,
};
1. <Link
2. onClick={() =>
3. this.$f7router.navigate("/popup/", {
4. context: { title: "this is title from context" }
5. }) }
6. popupOpen="#openPopupId"
7. routeProps={hello}
8. >
9. Popup
10. </Link>
I’m trying to send data via routeProps and accessing in PopupPage Component
List item
in PopupPage
I tried to print the title
{this.props.title}
It’s not getting printed (even though it’s there is props)
and also if anyone know how to create routable popups, Please let me know.
Please help me out this.
Thank you.