Building a Custom React Router SSR Server With Hono

https://hackernoon.imgix.net/images/GKMDC80avThn4WCIH2KxmeCMx9o1-3h82bxt.png

If you're running a React Router app in framework mode, you get SSR out of the box and for production it hands you @react-router/serve, a small server built on top of Express. While it does the job, Express carries a bit of history (and weight) with it, so if you're the kind of person who wants a leaner server, or just more control over what happens around your app, there's a really nice alternative that drops in with almost no glue.

Hono (and its Node server)

The createRequestHandler from react-router gives you a function that takes a standard web Request and resolves to a standard web Response, that's the whole contract. It doesn't care about Node, Express, or any particular server, it just wants a Request and it'll give you back a Response.

Honois built on those exact same web standards and, inside its handler, context.req.raw is already a...

Copyright of this story solely belongs to hackernoon.com. To see the full text click HERE

Read more

https://cdn.mos.cms.futurecdn.net/UDsQLCikubZL5mvWZQ8auG-2000-80.jpg

Someone got Blu-ray's Dolby Atmos TrueHD sound working on the Apple TV 4K — but I'm not sure the elaborate system, that goes from Atmos to Apple's custom spatial audio system back to Atmos, is something I'll try myself

* For now you need to build the feature yourself on a Mac * Native Player delivers similar audio but isn't open source * Proposed as an extension to the Nuvio media player A clever developer has come up with a way to deliver lossless Dolby TrueHD movie soundtracks, complete with