my blog https://overreacted.io
53
fork

Configure Feed

Select the types of activity you want to include in your feed.

bleh

+1 -1
+1 -1
public/jsx-over-the-wire/index.md
··· 2220 2220 ```js 2221 2221 app.get('/*', async (req, res) => { 2222 2222 const url = req.url 2223 - const json = toJSON(<RouterViewModel url={url} />); // Evaluate JSX 2223 + const json = await toJSON(<RouterViewModel url={url} />); // Evaluate JSX 2224 2224 res.json(json); 2225 2225 }); 2226 2226 ```