並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 40 件 / 106件

新着順 人気順

RSCの検索結果1 - 40 件 / 106件

  • Next.jsから学ぶWebレンダリング ~React誕生以前からApp Router with RSCまでの流れ~

    最近話題のReact Server ComponentsやIslands Architectureが何を解決しようとしてるか知るまでの簡単なWebレンダリングの流れを記載しました。 社内勉強会のために作成した資料となるため箇条書きになっておりますが、なるべくHowやWhatではなくWhyやトレードオフを記述するようにしています。(読みにくい or 誤った記載あったらFB頂けたら幸いです) React 誕生までの Web iPhone と Ajax がリードした Web 2.0 時代 Webにおいて Ajax という技術が注目され始める 2005~ Google mapsやGmailといったサービスがリード jQueryの誕生が 2006~ iPhone登場 2007~ スマホアプリの登場によりソフトウェアのUXに求められる質的変化 mobile safariが時代のリードをした Flash

      Next.jsから学ぶWebレンダリング ~React誕生以前からApp Router with RSCまでの流れ~
    • Twitter/Blueskyの自己ポストの全文検索サービスをNext.js App Router(RSC)で書きなおした方法/設計/感想

      mytweetsという自分の Twitter/Bluesky の自己ポストの全部検索サービスをNext.js App Router(RSC)で書きなおしました。 mytweets は Twitter のアーカイブや Bluesky の API を使って自分のポストを S3 に保存しておき、 S3 Selectを使って全文検索ができる自分専用の Twilog のようなサービスです。 自分の Tweets をインクリメンタル検索できるサービス作成キット と Tweets をまとめて削除するツールを書いた | Web Scratch 過去の Tweets を全文検索できる mytweets を Bluesky に対応した。自分用 Twilog みたいなもの | Web Scratch 最初は CloudFront + Lambda@Edge + Next.js Pages Router で動かし

        Twitter/Blueskyの自己ポストの全文検索サービスをNext.js App Router(RSC)で書きなおした方法/設計/感想
      • research!rsc: Coroutines for Go

        This post is about why we need a coroutine package for Go, and what it would look like. But first, what are coroutines? Every programmer today is familiar with function calls (subroutines): F calls G, which stops F and runs G. G does its work, potentially calling and waiting for other functions, and eventually returns. When G returns, G is gone and F continues running. In this pattern, only one fu

        • Webとネイティブを融合させてRemixのようなデータ取得ができるフレームワーク”One”と、RSCの未来

          Tamaguiチームから、Webとネイティブアプリを単一コードベースで開発するReactフレームワーク「One」が発表されました。 近年ではWebとネイティブを単一ソースコードで開発するスタックのことはUniversal Appと呼ばれ、徐々に注目を集めています。例えばユニバーサルなスタイルフレームワークであるTamaguiは、ExpoとMetro、Next.jsを使ったボイラープレートを提供してきました。 OneはReact NativeのビルドツールであるMetroの代わりに、Viteプラグラインとして動作します。また、WebサーバーとしてHonoを採用しています。 ドキュメントを一通り読んでみて、これはネイティブアプリにおけるReact Server Components(以下RSC)実装の未来を示したフレームワークではないかと思ったので、紹介&考察記事を書こうと思いました。 One

            Webとネイティブを融合させてRemixのようなデータ取得ができるフレームワーク”One”と、RSCの未来
          • research!rsc: Go += Package Versioning (Go & Versioning, Part 1)

            We need to add package versioning to Go. More precisely, we need to add the concept of package versions to the working vocabulary of both Go developers and our tools, so that they can all be precise when talking to each other about exactly which program should be built, run, or analyzed. The go command needs to be able to tell developers exactly which versions of which packages are in a particular

            • Next.js App Router / React Server Components(RSC)を紐解いてみた - estie inside blog

              デザインエンジニアの表(@HirokiOmote)です。 Next.jsでApp Routerがリリースされて、1年が過ぎました。 弊社では、@hiroppyさんを技術顧問に迎え、Frontendを中心とした長期的な技術選定にご協力いただきました。 本日は、そこで得た学びをご紹介したいと思います。 App Routerについて 2023年5月にNext.js 13.4がstableとしてリリースされ、App Routerが登場しました。 ツリー構造でのファイル配置が基本となりました。 ディレクトリ構成とルーティング page単位・feature(機能)ごとに切り分けたディレクトリ構成が可能になったため、より直感的で再利用性の高い構造が実現しました。 // App Router . ├── dashboard │ ├── components │ │ ├── button.tsx │ │ └

                Next.js App Router / React Server Components(RSC)を紐解いてみた - estie inside blog
              • research!rsc: Go & Versioning

                These are the posts in the February 2018 “Go & Versioning” series: “Go += Package Versioning” [PDF]. “A Tour of Versioned Go (vgo)” [PDF]. “Semantic Import Versioning” [PDF]. “Minimal Version Selection” [PDF]. “Reproducible, Verifiable, Verified Builds” [PDF]. “Defining Go Modules” [PDF]. “Versioned Go Commands” [PDF]. The official Go proposal is at https://golang.org/issue/24301, filed on March 2

                • research!rsc: Timeline of the xz open source attack

                  Posted on Monday, April 1, 2024. Updated Wednesday, April 3, 2024. Over a period of over two years, an attacker using the name “Jia Tan” worked as a diligent, effective contributor to the xz compression library, eventually being granted commit access and maintainership. Using that access, they installed a very subtle, carefully hidden backdoor into liblzma, a part of xz that also happens to be a d

                  • RSC From Scratch. Part 1: Server Components · reactwg/server-components · Discussion #5

                    RSC From Scratch. Part 1: Server Components In this technical deep dive, we'll implement a very simplified version of React Server Components (RSC) from scratch. This deep dive will be published in several parts: Part 1: Server Components (this page) Part 2: Client Components (not written yet) Part 3: TBD (not written yet) Seriously, this is a deep dive! This deep dive doesn't explain the benefits

                      RSC From Scratch. Part 1: Server Components · reactwg/server-components · Discussion #5
                    • React NativeとExpo RouterのRSC導入に向けたアップデートが来そう - laiso

                      Expo Routerとは Expo Routerは、React NativeおよびWebアプリケーション用に設計されたファイルベースのルーティングライブラリ。 docs.expo.dev RSCを活用してサーバー側でコンポーネントレンダリングとストリーミングを行う新しいSDUIの構想 "Fetch Once, Render Everywhere: React Server Components in Expo Router"はReact Summit 2024におけるExpo作者のひとりEvan Baconによる講演。 gitnation.com ここでExpoを使った新しいSDUIの構想が発表され、Reactネイティブアプリにおけるサーバー側のコンポーネントレンダリングとストリーミングが提案されてXのタイムラインが盛り上がっていた。 今クライアントがWeb APIで取得して画面に適用し

                        React NativeとExpo RouterのRSC導入に向けたアップデートが来そう - laiso
                      • research!rsc: Our Software Dependency Problem

                        For decades, discussion of software reuse was far more common than actual software reuse. Today, the situation is reversed: developers reuse software written by others every day, in the form of software dependencies, and the situation goes mostly unexamined. My own background includes a decade of working with Google’s internal source code system, which treats software dependencies as a first-class

                        • Goによるrsc.io/scriptパッケージを用いた独自スクリプトでテストケースを記述するテスト手法紹介 - tomato3713’s blog

                          本記事は、はてなエンジニア - Qiita Advent Calendar 2024 - Qiitaの11日目の記事です。昨日は、 id:Windymelt さんの esbuildでScala.jsをビルドして呼べるようにするプラグインを作った話 - Lambdaカクテル でした。 Goでユニットテストを書くときは、Table Driven Tests が頻繁に使われています。Table Driven Test によって一定程度読みやすいテストコードを書くことができますが、入力の数が多かったり比較項目が複雑になるとアサーション部分で条件分岐が起きてしまい書きにくくなることがあります。 そこで柔軟にテストケースを記述できる script-based test cases を導入したテスト手法を紹介したいです。 script-based test cases とは、 research!rsc:

                            Goによるrsc.io/scriptパッケージを用いた独自スクリプトでテストケースを記述するテスト手法紹介 - tomato3713’s blog
                          • GitHub - rsc/2fa: Two-factor authentication on the command line

                            You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                              GitHub - rsc/2fa: Two-factor authentication on the command line
                            • 自然放射線の量 - 放射線科学センター(RSC)

                              41 43 44

                              • research!rsc: My Go Resolutions for 2017

                                ’Tis the season for resolutions, and I thought it would make sense to write a little about what I hope to work on this year as far as Go is concerned. My goal every year is to help Go developers. I want to make sure that the work we do on the Go team has a significant, positive impact on Go developers. That may sound obvious, but there are a variety of common ways to fail to achieve that: for exam

                                • research!rsc: Go Data Structures: Interfaces

                                  Go's interfaces—static, checked at compile time, dynamic when asked for—are, for me, the most exciting part of Go from a language design point of view. If I could export one feature of Go into other languages, it would be interfaces. This post is my take on the implementation of interface values in the “gc” compilers: 6g, 8g, and 5g. Over at Airs, Ian Lance Taylor has written two posts about the i

                                  • React Router RSC Preview

                                    tl;dr React Router has preview support for RSC! Clone this repo to try it out RSC content from loaders/actions in existing routes RSC-first "Server Component Routes" Client components with "use client" Server Functions with "use server" Check out the demo Live Demo Source Code Middleware for batching and caching queries Stable release blocked by RSC support in Vite The preview uses Parcel Alternat

                                      React Router RSC Preview
                                    • research!rsc: Version SAT

                                      Dependency hell is NP-complete. But maybe we can climb out. The package version selection problem is to find a set of dependencies that can be used to build a top-level package P that is complete (all dependencies satisfied) and compatible (no two incompatible packages are selected). There may be no such set, because of the diamond dependency problem: perhaps A needs B and C; B needs D version 1,

                                      • research!rsc: The xz attack shell script

                                        Posted on Tuesday, April 2, 2024. Updated Wednesday, April 3, 2024. Introduction Andres Freund published the existence of the xz attack on 2024-03-29 to the public oss-security@openwall mailing list. The day before, he alerted Debian security and the (private) distros@openwall list. In his mail, he says that he dug into this after “observing a few odd symptoms around liblzma (part of the xz packag

                                        • RSCがSPAに与える意味についての考察、Wakuを試してみませんか?

                                          こんにちは、Wakuの作者です。RSCのためのReactフレームワークであるWakuですが、SPAもサポートしたいと思っています。RSCとSPAに関して思ったことを雑多ですが記事にしたので、よろしければご覧ください。 以下、ChatGPTによる翻訳です。 はじめに RSCはReact Server Componentの略ですが、この投稿では以下の2つの主要な要素を含む広義のアーキテクチャとしてRSCを使用します。 コア機能:Reactコンポーネントやその他の値をシリアライズおよびデシリアライズする能力。 コア機能に基づくベストプラクティス:まだ探索の余地があると感じています。 SPA(Single Page Application)は、静的ファイルとしてデプロイされることが多いです。別のサーバーが存在する場合もありますが、それは通常SPA自体を提供するためのものではありません。この文脈では

                                            RSCがSPAに与える意味についての考察、Wakuを試してみませんか?
                                          • Remix は RSC にどう対応するのか

                                            Previous slideNext slideToggle fullscreenOpen presenter view Remix は RSC にどう対応するのか @mizchi Remix Tokyo 2024/09/25 About https://x.com/mizchi Node.js とフロントエンドの専門家 100万円*達成率で御社のフロントエンドの高速化をやります Remix は cloudflare-pages で動くから好き そろそろ Remix で RSC したくない? export default async function MyPage() { const data = await fetch('/api/data') return <div>{JSON.stringify(data, null, 2)}</div> } 非同期関数コンポーネントで非同期データ解

                                            • research!rsc: Storing Data in Control Flow

                                              A decision that arises over and over when designing concurrent programs is whether to represent program state in control flow or as data. This post is about what that decision means and how to approach it. Done well, taking program state stored in data and storing it instead in control flow can make programs much clearer and more maintainable than they otherwise would be. Before saying much more,

                                              • GitHub - rsc/c2go: C to Go translation tool supporting Go toolchain migration

                                                You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                  GitHub - rsc/c2go: C to Go translation tool supporting Go toolchain migration
                                                • GitHub - alvarlagerlof/rsc-parser: A parser for the React Server Components when sent over the network

                                                  You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                    GitHub - alvarlagerlof/rsc-parser: A parser for the React Server Components when sent over the network
                                                  • RIZAPグループは遂にS安地獄を脱出! やまねメディカル、RSC、WASHハウスなどが久々に市場を賑わすS高! - いきなり無職!

                                                    こんばんは、ふくろう主です。 ちょっと驚くニュースが入ってきました。 あの日産自動車のカルロス・ゴーン会長が 自分の報酬を過少申告していたとして 東京地検特捜部に任意同行されたとか。 過少申告の金額は億単位になるそうです。 これだけの大物ですから、おそらく確たる証拠があるのでしょう。 容疑が固まれば逮捕という事になります。 経営危機に陥った日産をその辣腕で立て直したのは見事でしたが まさかこの様な事態になるとは。 報酬額もハンパなものでは無いでしょうから 何か申告のミスでもあったのではないかな、と思わなくもないですが・・ 明日は日産の株は下がっちゃいそうですね。 それでは、本日の相場を見ていきましょう。 日経平均21821.16円、前日比は+140.82円! 直近IPO成績 S高は10銘柄、大引けまでは7銘柄。S安は1。 日経平均21821.16円、前日比は+140.82円! さすがに日経

                                                      RIZAPグループは遂にS安地獄を脱出! やまねメディカル、RSC、WASHハウスなどが久々に市場を賑わすS高! - いきなり無職!
                                                    • RSC~不動産情報サイト事業者連絡協議会

                                                      不動産情報を「適正」かつ「公正」に不動産会社から一般消費者に伝達するために、不動産情報サイト事業者自らがルールを策定し、遵守しています 不動産情報サイト事業者連絡協議会 -Real estate Site Consortium-(略称RSC)について インターネットサイト上での不動産広告は、不動産会社にとっては、効率的かつ効果的な成約促進手段として活用されており、また一般消費者にとっては、自らが希望する不動産を効率的かつ効果的に探索する手段として支持されています。 ところが、インターネットサイト上で広告されている内容に虚偽等の不当なものが混在していたり、不動産公正取引協議会が定める「不動産の表示に関する公正競争規約」に反する表示が行われていては、広告主である不動産会社の信用が失われてしまうばかりか、その不動産情報サイト自体はもちろん、不動産情報を発信しているすべてのサイトの信用失墜にまで発

                                                      • research!rsc: The Principles of Versioning in Go (Go & Versioning, Part 11)

                                                        This blog post is about how we added package versioning to Go, in the form of Go modules, and the reasons we made the choices we did. It is adapted and updated from a talk I gave at GopherCon Singapore in 2018. Why Versions? To start, let’s make sure we’re all on the same page, by taking a look at the ways the GOPATH-based go get breaks. Suppose we have a fresh Go installation and we want to write

                                                        • research!rsc: Go Data Structures: Interfaces

                                                          Go's interfaces—static, checked at compile time, dynamic when asked for—are, for me, the most exciting part of Go from a language design point of view. If I could export one feature of Go into other languages, it would be interfaces. This post is my take on the implementation of interface values in the “gc” compilers: 6g, 8g, and 5g. Over at Airs, Ian Lance Taylor has written two posts about the i

                                                          • research!rsc: A Tour of Versioned Go (vgo) (Go & Versioning, Part 2)

                                                            For me, design means building, tearing down, and building again, over and over. To write the new versioning proposal, I built an prototype, vgo, to work through many subtle details. This post shows what it’s like to use vgo. You can download and try vgo today by running go get golang.org/x/vgo. Vgo is a drop-in replacement for (and a forked copy of) the go command. You run vgo instead of go, and t

                                                            • research!rsc: Glob Matching Can Be Simple And Fast Too

                                                              Here’s a straightforward benchmark. Time how long it takes to run ls (a*)nb in a directory with a single file named a100, compared to running ls | grep (a.*)nb. Superscripts denote string repetition and parentheses are for grouping only, so that when n is 3, we’re running ls a*a*a*b in a directory containing the single file aaa...aaa (100 a’s), compared against ls | grep a.*a.*a.*b in the same dir

                                                              • research!rsc: Go Data Structures

                                                                When explaining Go to new programmers, I've found that it often helps to explain what Go values look like in memory, to build the right intuition about which operations are expensive and which are not. This post is about basic types, structs, arrays, and slices. Basic types Let's start with some simple examples: The variable i has type int, represented in memory as a single 32-bit word. (All these

                                                                  research!rsc: Go Data Structures
                                                                • research!rsc: Semantic Import Versioning (Go & Versioning, Part 3)

                                                                  How do you deploy an incompatible change to an existing package? This is the fundamental challenge, the fundamental decision, in any package management system. The answer decides the complexity of the resulting system It decides how easy or difficult package management will be to use. (It also decides how easy or difficult package management will be to implement, but the user experience is more im

                                                                  • GitHub - twitter/rsc: Experimental Scala compiler focused on compilation speed

                                                                    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                      GitHub - twitter/rsc: Experimental Scala compiler focused on compilation speed
                                                                    • [弦潤滑剤] Rock house RSC-1 ストリングケア ってFINGER EASEみたいに使えるの? | ギターいじリストのおうち

                                                                      生涯5000本以上のギターをいじり続けたきた管理人が実測データを交え世界一詳しいギターレビューやギターパーツ情報をお届け!

                                                                        [弦潤滑剤] Rock house RSC-1 ストリングケア ってFINGER EASEみたいに使えるの? | ギターいじリストのおうち
                                                                      • research!rsc: What is Software Engineering? (Go & Versioning, Part 9)

                                                                        Nearly all of Go’s distinctive design decisions were aimed at making software engineering simpler and easier. We’ve said this often. The canonical reference is Rob Pike’s 2012 article, “Go at Google: Language Design in the Service of Software Engineering.” But what is software engineering? Software engineering is what happens to programming when you add time and other programmers. Programming mean

                                                                        • research!rsc: Hardware Memory Models (Memory Models, Part 1)

                                                                          Introduction: A Fairy Tale, Ending A long time ago, when everyone wrote single-threaded programs, one of the most effective ways to make a program run faster was to sit back and do nothing. Optimizations in the next generation of hardware and the next generation of compilers would make the program run exactly as before, just faster. During this fairy-tale period, there was an easy test for whether

                                                                          • research!rsc: Go Testing By Example

                                                                            I opened GopherCon Australia in early November with the talk “Go Testing By Example”. Being the first talk, there were some A/V issues, so I re-recorded it at home and have posted it here: Here are the 20 tips from the talk: Make it easy to add new test cases. Use test coverage to find untested code. Coverage is no substitute for thought. Write exhaustive tests. Separate test cases from test logic

                                                                            • RSC株価上昇!セコムとの業務提携を締結し今後と見通しも明るい?

                                                                              HOME » 最近の投稿‼ » 本日の注目銘柄 » 1月31日の注目銘柄 RSC株価上昇!セコムとの業務提携を締結し今後と見通しも明るい? 【<4664> RSC】 31日終値850円 【好材料内容は?】 <9735>セコムと業務提携を締結すると発表しました。 詳しい提携の内容は下の【まとめ】に記載します‼ この発表が好感され30日と本日31日と連続でストップ高を記録しました❗ 【どんな会社?】 警備事業の中堅的存在であり、警備や清掃、設備管理などの総合管理サービスに寄っています。 現在は人材派遣や介護なども展開しています。 【チャートで見た株価の流れは?】 『半年間のチャート』 半年間のチャートで見てみると 半年前までは540円付近だった株価ですが、10月末に一時800円を超えるところにまで急騰します。 しかし株価の上昇は続かずすぐに500円台に逆戻りしてしまいますが、今回の発表で再び8

                                                                                RSC株価上昇!セコムとの業務提携を締結し今後と見通しも明るい?
                                                                              • Thread by @_rsc: "@mattfarina @Crell @sdboyer This is an absolutely fair criticism - we have not handled the community process around dependency management we […]"

                                                                                @mattfarina @Crell @sdboyer This is an absolutely fair criticism - we have not handled the community process around dependency management well. The core Go team was not involved early or often enough for that process to lead to a smooth landing. As tech lead for Go, that was my fault, and I apologize. @mattfarina @Crell @sdboyer Ever since I wrote “go get,” we on the core Go team hoped the communi

                                                                                  Thread by @_rsc: "@mattfarina @Crell @sdboyer This is an absolutely fair criticism - we have not handled the community process around dependency management we […]"
                                                                                • 【Next.js】App RouterとRSCによるアーキテクチャ設計

                                                                                  はじめに Next.jsにApp Routerが導入されたことで、開発者にとって便利な機能が増えた一方、App Routerを前提とした設計のベストプラクティスがまだ確立されておらず、設計時にさまざまな検討が必要になっています。 特に大規模プロジェクトでは、開発が進むにつれてコードが肥大化し、メンテナンス性が損なわれる可能性があります。そのため、コードを細分化して管理し、将来的な保守や拡張を容易にするアプリケーション設計が求められます。 今回の記事の項目 本記事では、App Routerの機能を最大限に活用するための設計について考察します。 特に以下の項目に焦点を当て、長期にわたってメンテナンス性の高いプロジェクトを構築するための方法を探ります。 App Routerを活用した効率的なディレクトリ設計戦略 レイアウトコンポーネントの効果的な利用 RSCの活用 サーバーコンポーネントとクライ

                                                                                    【Next.js】App RouterとRSCによるアーキテクチャ設計