All opinions are my own.
harshdeephura.com
github.com/kinngh/attayjs
github.com/kinngh/attayjs
Client: client side routing, prefetching, dynamic routes
Even as I build Yakk, a full fledged app, I don't need anymore than this. It's breaking my head right now
Client: client side routing, prefetching, dynamic routes
Even as I build Yakk, a full fledged app, I don't need anymore than this. It's breaking my head right now
I also want to dive deeper into Bun and see what other things can be done but I'm happy with how this is shaping out
I also want to dive deeper into Bun and see what other things can be done but I'm happy with how this is shaping out
I don't want to add in a single `middleware.js` file. Instead, a new function called `withMiddleware()` is exposed, that sequentially runs middlewares.
no middlewares -> `export default handler;`
middlewares -> `export default withMiddleware(middleware1, handler);`
I don't want to add in a single `middleware.js` file. Instead, a new function called `withMiddleware()` is exposed, that sequentially runs middlewares.
no middlewares -> `export default handler;`
middlewares -> `export default withMiddleware(middleware1, handler);`
/pages/api/example/get.js
/pages/api/example/post.js
This would mean that a GET request to /api/example would go to get.js and a POST would hit post.js.
/pages/api/example/get.js
/pages/api/example/post.js
This would mean that a GET request to /api/example would go to get.js and a POST would hit post.js.
Also, right now I'm focusing on creating a router - just doing itself is so much fun because enow I get to work with browser APIs that I never cared about
Also, right now I'm focusing on creating a router - just doing itself is so much fun because enow I get to work with browser APIs that I never cared about
I've already built some insane stuff on Next--
I've already built some insane stuff on Next--