import React from 'react' import StateLink from '../../src/components/StateLink' import IntentLink from '../../src/components/IntentLink' import WithRouter from '../../src/components/WithRouter' import NeverUpdate from './NeverUpdate' export default class Product extends React.Component<{id: string}> { render() { const {id} = this.props const nextProductId = Math.random().toString(32).substring(2) return (

Showing a lot of information about product #{id}

View more details

Go to product #{nextProductId}

This is an intentlink: Open Foo

{(router) => ( )}

{(router) =>
{JSON.stringify(router.state)}
}

Up…

) } }