nibtime
nibtime
I just started to play around with hyper-ts as an implementation mechanism for declarative API specs (inspired by https://github.com/rawrmaan/restyped) and created a router that consumes hyper-ts middleware. At some point,...
Hi, as I elaborated #36, I found out, that using `next-safe` as it is, is pretty easy with middleware. This is my current setup: ```ts import _nextSafe from 'next-safe'; import...
Hi @kiily, the `next-safe-middleware` utils are currently a private package within a project monorepo of mine (see #36). It's easier for me to develop there with Vercel Pro. But I...
Hi @kiily you're welcome, I am glad if it was helpful. I just packaged my solution up and published to NPM: [@next-safe/middleware](https://www.npmjs.com/package/@next-safe/middleware). I updated my project also to consume the...
Hi @kiily, I've been in DevOps mode lately for projects of mine, so I attempted a setup for the lib as well: https://github.com/nibtime/next-safe-middleware. I set it up as a monorepo...
Thanks @kiily 😄. I am glad that was helpful for you. I've just released `0.4.0` and also updated the StackBlitz with the new version/demo features. This version works around some...
Hi, I played around with `'strict-dynamic'` + hashes for static pages and Next 12, because it seems impossible to use nonces for static pages (build-time prerendered). I wrote a custom...
Hi @trezy > If you're game to pair on that work at some point, I'd love to do so. Feel free to join my Discord and hit me up. Sure,...
this problem is due to React 18 failing when mutating props. In React < 18, it only failed in dev mode, with 18 it also fails in production. I had...
Hi @redbaron76 the `twin.d.ts` is unfortunately broken, as @lboecker mentioned, it uses undefined types (`AnyIfEmpty`, `CreateStyledComponent`, so it becomes `any`. For your example: I would do that more like this...