rsnext/test/integration/dynamic-routing/pages/p1/p2/all-ssr/[...rest].js
Joe Haddad ba5e6943fa
[Experimental] Catch-all Route Support (#9416)
* Catch-all Route Support

* Add SSR tests

* Add additional test

* Add unit tests

* Put the feature behind a flag

* Apply suggestions from code review

Co-Authored-By: JJ Kasper <jj@jjsweb.site>

* Fix test
2019-11-14 23:19:41 -08:00

7 lines
163 B
JavaScript

function All({ query }) {
return <div id="all-ssr-content">{JSON.stringify(query)}</div>
}
All.getInitialProps = ({ query }) => ({ query })
export default All