|
Download wp-calypso/client/server/isomorphic-routing/README.md from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 384 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/server/isomorphic-routing/README.md
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/server/isomorphic-routing/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/server/isomorphic-routing/README.md
384 Bytes
| # Isomorphic Routing Middleware Adapters | |
| ## index.js | |
| This module provides functions to adapt `page.js`-style middleware (with | |
| `( context, next )` signature) to work with `express.js` (`( req, res, next )`), | |
| so `client` middleware satisfying a couple of constraints can be re-used on the | |
| server side. | |
| For more information, see [Isomorphic Routing docs](docs/isomorphic-routing.md). | |