import React, { Component } from 'react'; import { Page, Navbar, Block, Link } from 'framework7-react'; export default class DynamicRoutePage extends Component { render() { return (
  • Url: {this.$f7route.url}
  • Path: {this.$f7route.path}
  • Hash: {this.$f7route.hash}
  • Params:
      {Object.keys(this.$f7route.params).map(key => (
    • {key}: {this.$f7route.params[key]}
    • ))}
  • Query:
      {Object.keys(this.$f7route.query).map(key => (
    • {key}: {this.$f7route.query[key]}
    • ))}
  • Route: {this.$f7route.route.path}
this.$f7router.back()}>Go back via Router API
); } }