Filter
Exclude
Time range
-
Near
Jan 23
Hono on Next.jsでRouteHandlerをOpenAPI対応にするの検証した結果、気に入ったので導入を決意しました
2
38
3,186
プログラミング絶望ラジオ公開 📻 7年越しの謝罪 WebComponentsってあり?, コミットログの流儀, OSS活動, Cursor2やっぱり良い, RouteHandlerはNext.jsの弱み YouTube youtu.be/0xfkrlIoXV4 Spotify spotifycreators-web.app.link…
1
8
4,262
最近、自社サービスに問い合わせ頂いた方で、 「Claudeに聞いたらサービスが出てきた」と聞いてびっくり。 「LLMO大切なんだ〜」くらいのミーハーノリで、 公式サイトにllms.txt設定しておいたら、早速効果があった。 Next.jsの場合、/llms.txtへのリクエストを RouteHandlerでtext/plain形式で返すようにすれば、 動的なコンテンツもllms.txtに含めることができて 引っかかりやすくなるのかなと。
1
86
823
140,497
19 Nov 2024
Next.js、ServerComponent内部でRouteHandlerをfetchするときにはホスト名を自動取得してほしい。もしくは良い感じにできるようにしてほしい。
2
3
1,606
16 Oct 2024
実質Server Actionsがあれば、RouteHandlerによるAPI構築は不要になるんだけど、そういう置き換えで良いんだっけ? それともActionだから変更を伴う処理に限定すべきなのかな。今のところそうしているけど、普通にGET的な参照だけの処理も代替できちゃうんだよな。キャッシュとかの効率性は無視して。
1
2
1,044
今の個人開発、Next.jsのRouteHandlerにHonoを住まわせて、Honoでprismaを使ってSupabaseから値をとってきてる
23
1,904
1. RouteHandlerで書いてあるAPIをActionsで書きたい 2. UIをshadcnで書きたい 3. フォームをconformに書きたい 4. シンプルにリファクタリングしたい
今作ってるINIAD生向けSNS、ベータ版だけでも出せって言われたら明日にもリリースできるんだけど、よりよいコード書きたい、勉強したいって欲が出てきて一生リリースできる気しない。
1
3
859
2 Sep 2024
Next.js AppRouterで、コンポーネントからRouteHandlerのAPIをfetchするのって、どういうメリットがあってそうするんだろう。直接コンポーネント内部で処理したくないってことかな。
2
1,698
22 Jun 2024
Next.js AppRouterで、RouteHandlerでファイルダウンロードさせた後に、別の処理でServerActions内部でrevalidatePathしても動かないな…。ページ遷移的にはRouteHandlerに移動しているから機能しないという感じなのだろうか。
1
2
559
1 May 2024
NextjsでRouteHandlerのエンドポイント周り触るなら、オライリーのWebAPI読破したい
2
95
2/ A middleware directs the control to the next middleware or routehandler with next() method. A middleware takes mainly 3 things as param: req, res, and next function. This next() function is called when middleware is needed to be forwarded to next middleware or routerhandler.
1
2
191
Next.jsのApp Routerでmsw使えないので、外部APIのmockどうしようかと思ったけど、環境変数で外部APIのEndpointを"http://localhost:3000/api/mock/xxx"とかにしてRouteHandlerでmockしてしまえばよい、という結論に達した。
3
262
Is there a way to set a @supabase client once in @nextjs in the same way as in the sveltekit? supabase.com/docs/guides/get… "res.locals" is unavailable in the next.js create {Middleware/Pages/Action/RouteHandler/Browser} Supabase client feels cumbersome.
3
76
8 May 2023

2
405
an issue just got labeled #goodfirstissue for fastify/fastify #JavaScript Support passing `Promise<{ default: RouteHandler }>` to register routes github.com/fastify/fastify/i…

2
189
30 Sep 2022
Replying to @AshleyAitken
Data modeling is about creating well-structured entities to hold data that our applications process (PaymentType, Customer, FlightBooking, etc). OOP should never be used for data modeling, only for 'service modeling' (PaymentProcessor, ProductRecommender, RouteHandler).
2
1
5
nit: I wouldn't use a method syntax in the RouteHandler interface, it's better not to use bivariance if not needed for some reason
2
27 Mar 2020
Replying to @addyosmani
Switch > Routes: nested routes in v0.13 Path resolver for nested routes: named routes in v0.13 Outlet: RouteHandler in v0.13 5 years later, they figure out that 0.13 was the best API.
2
8
How about just adding the package as a dependency? 😝 Or at least leveraging the RouteHandler, which is in a separate NuGet package: github.com/callumbwhyte/umbr…

1