並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 31 件 / 31件

新着順 人気順

javascript fetch formdata fileの検索結果1 - 31 件 / 31件

  • Remix vs Next.js

    Easily the biggest question we get asked is something like: How is Remix different from Next.js? It appears we have to answer this question! We'd like to address it directly and without drama. If you're a fan of Remix and want to start tweeting smug reactions to this article, we kindly ask that you drop the smugness before hitting the tweet button 🤗. A rising tide lifts all boats. We've been frie

      Remix vs Next.js
    • 普段使わないけど便利なWeb API 8選

      MDNのWeb APIリストから、便利で、しかし普段のサービス開発ではあまり使われていない可能性のあるAPIを8個選びご紹介します。これらのAPIはあまり知られていないかもしれませんが、特定の状況や要件に対して非常に有効であることがあります。 Beacon API Beacon APIは、非同期でブロッキングしないリクエストをWebサーバーに送信するために使用されます。このリクエストはレスポンスを期待しないため、XMLHttpRequestやFetch APIを使ったリクエストとは異なりページがアンロード(ウェブページがユーザーによって閉じられるか、別のページに移動する際)される前にブラウザがビーコンリクエストを開始し、それを完了させることを保証します。 主な使用例としては、クライアント側のイベントやセッションデータをサーバーに送信するために使用されます。このAPIは、navigator.

        普段使わないけど便利なWeb API 8選
      • New WebKit Features in Safari 15.4

        ContentsHTMLCSSWeb APIsJavaScriptWeb AppsMediaPrivacySecurityWKWebViewSafari Web ExtensionsWeb InspectorFeedbackAnd More With over 70 additions to WebKit, Safari 15.4 is packed with new web technologies, updates, and fixes. We’ve assembled a huge release as part of our commitment to web developers, and the people who use the web. This is the first big WebKit release of 2022, and we’re just getting

          New WebKit Features in Safari 15.4
        • WebKit Features in Safari 16.4

          Mar 27, 2023 by Patrick Angle, Marcos Caceres, Razvan Caliman, Jon Davis, Brady Eidson, Timothy Hatcher, Ryosuke Niwa, and Jen Simmons ContentsWeb Push on iOS and iPadOSImprovements for Web AppsWeb ComponentsCSSHTMLJavaScript and WebAssemblyWeb APIImages, Video, and AudioWKWebViewDeveloper ToolingWeb InspectorSafari Web ExtensionsSafari Content BlockersNew Restrictions in Lockdown ModeMore Improve

            WebKit Features in Safari 16.4
          • KARTE Blocksを支える技術

            こんにちは、エンジニアの鈴木(@RyosukeCla)です。 僕は KARTE Blocks の保守、運用、開発、計画と幅広く携わっています。 無事、2021年9月14日にプロダクトを正式リリースして、現在はプロダクトの改善に取り組んでいます。 本稿では、KARTE Blocks をどのように開発しているのか、その裏側、特に技術に関して紹介していきます。 この記事は「KARTE Blocksリリースの裏側」という連載シリーズの1日目の記事です。全10回を予定しています。 これから毎日記事を更新していくため、更新をチェックしたい方は@KARTE_BlocksのTwitterアカウントをフォローしてください! Follow @KARTE_Blocks 連載では次のような記事をはじめとした、さまざまなBlocksの裏側を公開していく予定です。 KARTE Blocksを支える技術 ← イマココ

              KARTE Blocksを支える技術
            • Node.js

              We’re excited to announce that Node.js 18 was released today! Highlights include the update of the V8 JavaScript engine to 10.1, global fetch enabled by default, and a core test runner module. Initially, Node.js 18 will replace Node.js 17 as our ‘Current’ release line. As per the release schedule, Node.js 18 will be the 'Current' release for the next 6 months and then promoted to Long-term Support

                Node.js
              • Next.js 13 vs Remix: An In-depth case study — Prateek Surana

                When it comes to building web applications, React has been at the forefront for a while now, and its adoption continues to grow. Among the most common approaches to building web applications with React, Next.js stands out as one of the most preferred options. Next.js has also been in the limelight since last year when they released their biggest update to the framework ever with the app router. Th

                  Next.js 13 vs Remix: An In-depth case study — Prateek Surana
                • Cloudflare Workers + Hono ワークショップ - ServerlessDays Tokyo 2023

                  Cloudflare Workers + Hono ワークショップ 資料はこちら => workshops.yusuke.run #serverlessdays Yusuke Wada 2023-09-24 ServerlessDays Tokyo 2023 workshops.yusuke.run アジェンダ ワークショップについて Workers イントロダクション Hono イントロダクション 基本編 プロキシ編 Web API編 フルスタック編 AI編 Honoをより深く知る その他 1. ワークショップについて 1.1 対象 対象者 Cloudflareでのアプリケーション作成に興味のある方 Honoを使ってみたい方 フロント、バックエンド問いません 前提条件 Wranglerが動く環境をつくっておく npx wrangler が動く JavaScriptに対する知識があるとよい

                    Cloudflare Workers + Hono ワークショップ - ServerlessDays Tokyo 2023
                  • Next.jsのコンパイラから知るServer Actionsの完全解析 ~セキュリティ上の注意点も含めて~ - カミナシ エンジニアブログ

                    はじめに StatHackカンパニーの渡邉です。 私の普段の取り組みをこちらで紹介しているのでこちらもどうぞ。 note.kaminashi.jp 私たちKaminashiでは、さまざまなプロダクトにNext.jsを採用し始めています。 今回のブログではNext.jsの最も特徴的な機能の一つであるServer Actionsに関してフォーカスし、それがどういう仕組みで動いているのかコンパイラのソースコードを確認しながら解説し、 最後に実装上の注意点について述べます。 特にServer Actionsの具体的な中身の解説に関してはヘビーなので、実装上の注意点だけ見てもらうだけでも良いかもしれないです。 それではやっていきましょう。 Server Actionsとは? Server ActionsとはNext.js v14から正式にリリースされた機能で、従来フロントエンドのために記述していたR

                      Next.jsのコンパイラから知るServer Actionsの完全解析 ~セキュリティ上の注意点も含めて~ - カミナシ エンジニアブログ
                    • Next.js vs. Remix - A Developer's Dilemma

                      Next.js vs. Remix - A Developer's Dilemma Feb 21, 2024 I am a Javascript and React enthusiast, and I absolutely love writing technical blogs. There's just something about the process of breaking down complex concepts and sharing my knowledge with others that really excites me. In my free time, I enjoy exploring my other passions, such as painting, gardening, cooking, and managing my food blog. The

                        Next.js vs. Remix - A Developer's Dilemma
                      • Bun の非互換な拡張 API - moriken's project

                        Bun は WinterTC からの招待を無視し、標準から外れた拡張やまだプラットフォームで議論中の仕様を利便性のためだけに取り入れている。またエコシステムとして合意の取れていない実装をすることもある。 @jarredsumner: JS runtimes obsess about web standards but web standards orgs are incentivized to only care about browsers @lcasdev: @jarredsumner Just want to mention that we’ve invited you to WinterCG meetings for nearly 2 years now without any response from you - I think intentionally not partic

                          Bun の非互換な拡張 API - moriken's project
                        • Welcome to Wildebeest: the Fediverse on Cloudflare

                          The Fediverse has been a hot topic of discussion lately, with thousands, if not millions, of new users creating accounts on platforms like Mastodon to either move entirely to "the other side" or experiment and learn about this new social network. Today we're introducing Wildebeest, an open-source, easy-to-deploy ActivityPub and Mastodon-compatible server built entirely on top of Cloudflare's Super

                            Welcome to Wildebeest: the Fediverse on Cloudflare
                          • WebKit Features in Safari 18.0

                            ContentsNew in Safari 18Web apps for MacCSSSpatial WebHTMLJavaScriptWeb APICanvasManaged Media SourceWebRTCHTTPSWebGLWeb InspectorPasskeysSafari ExtensionsApple PayDeprecationsBug Fixes and moreUpdating to Safari 18.0Feedback Safari 18.0 is here. Along with iOS 18, iPadOS 18, macOS Sequoia and visionOS 2, today is the day another 53 web platform features, as well as 25 deprecations and 209 resolve

                              WebKit Features in Safari 18.0
                            • React Server Components: the Good, the Bad, and the Ugly

                              React Server Components bring server-exclusive capabilities to React. I've been using this new paradigm within Next.js 13 and 14, and what follows is my honest assessment of it[1]. I debated not publishing this post because of the way the React community has historically handled criticism. It is only recently that I decided it is important to share my thoughts, especially after seeing that much of

                              • News from WWDC24: WebKit in Safari 18 beta

                                Jun 10, 2024 by Jen Simmons, Jon Davis, Karl Dubost, Anne van Kesteren, Marcos Cáceres, Ada Rose Canon, Tim Nguyen, Sanjana Aithal, Pascoe, and Garrett Davidson ContentsWebXRCSSWeb apps for MacSafari ExtensionsSpatial mediaHTMLMediaWebRTCPasskeysHTTPSJavaScriptWeb APICanvasWebGLWeb InspectorWKWebViewApple PayDeprecationsBug Fixes and moreHelp us Beta TestFeedback The last year has been a great one

                                  News from WWDC24: WebKit in Safari 18 beta
                                • Cloudflare functions with Scala.js

                                  Indoor VivantsAnton Sviridov. I love reinventing the wheel and I usually use Scala for that. TL;DR We are deploying an app to Cloudflare using Scala.js We are using ScalablyTyped We are using Scala 3 heavily Code on Github Deployed app Cloudflare API bindings Welcome to the "Put ma Scala on yo cloud" series I want to say that I'm kicking off a blog series, but even I don't believe that. If I did,

                                  • Bun v1.0.24 | Bun Blog

                                    Bun is an incredibly fast JavaScript runtime, bundler, transpiler, and package manager — all in one. In case you missed it, here are some of the recent changes to Bun. This release fixes 9 bugs and adds Bun Shell, a fast cross-platform shell with seamless JavaScript interop. Fixes a socket timeout bug, a potential crash when socket closes, a Node.js compatibility issue with Hapi, a process.exit bu

                                    • Node.js — Node.js 21 is now available!

                                      We're excited to announce the release of Node.js 21! Highlights include updates of the V8 JavaScript engine to 11.8, stable fetch and WebStreams, a new experimental flag to flip module defaults (--experimental-default-type), a built-in WebSocket client, many updates to our test runner, and more! Node.js 21 will replace Node.js 20 as our ‘Current’ release line when Node.js 20 enters long-term suppo

                                        Node.js — Node.js 21 is now available!
                                      • GitHub - remix-run/remix: Build Better Websites. Create modern, resilient user experiences with web fundamentals.

                                        This is the source repository for Remix 3. It is under active development. We published a blog post earlier this year with some of our thoughts around Remix 3. It explains our philosophy for web development and why we think the time is right for something new. When working on Remix 3, we follow these principles: Model-First Development. AI fundamentally shifts the human-computer interaction model

                                          GitHub - remix-run/remix: Build Better Websites. Create modern, resilient user experiences with web fundamentals.
                                        • Next.jsをやめて、Remixで技術ブログを作り替えた話 | カルキチブログ

                                          10ヶ月ぶりの更新です。 突然ではありますが、エンジニアになった当初にNext.jsで構築した技術ブログをRemixでリプレイスしました。 Next.js全盛の今Next.jsを使うのをやめて、Remixにリプレイスした理由ですが、Remixを今後の自分の技術スタックの軸にしたいと考えたからです。 Remixについて Remix is a full stack web framework that lets you focus on the user interface and work back through web standards to deliver a fast, slick, and resilient user experience. 引用: https://remix.run ReactベースのフルスタックフレームワークGETリクエストはloaderで、GET以外のリク

                                          • Node.js

                                            Notable changes Add support for externally shared js builtins By default Node.js is built so that all dependencies are bundled into the Node.js binary itself. Some Node.js distributions prefer to manage dependencies externally. There are existing build options that allow dependencies with native code to be externalized. This commit adds additional options so that dependencies with JavaScript code

                                              Node.js
                                            • Remixフレームワーク(Reactベース)の入門者向け機能説明〜基礎編〜 | アールエフェクト

                                              本文書はReactベースのフレームワークRemixの入門書向けの内容です。Reactの基礎知識を持っていることを前提にしているためReactに関する詳細な機能説明は行っていませんがコードでつまずかないようにJavaScriptを利用したシンプルなコードを利用しています。Remixの基本的な機能の説明(Remixで利用できるHook)を中心に説明を行なっています。 現在のRemixのバージョンはv2ですが本文書はv1で動作確認を行っています。 Remixとは RemixはReactライブラリをベースにしたフルスタックフレームワークで、Sever Side Rendering(サーバーサイドレンダリング)を基本としています。ルーティングについてはReact Router v6が利用されているのでNested RouteやReact Router v6で利用できるAPIはRemixでも利用するこ

                                                Remixフレームワーク(Reactベース)の入門者向け機能説明〜基礎編〜 | アールエフェクト
                                              • multipart/form-dataで、日本語ファイル名が文字化けする(API Gateway, Lambda構成) - Qiita

                                                multipart/form-dataで、日本語ファイル名が文字化けする(API Gateway, Lambda構成)content-type文字化けlambdaAPIGateway はじめに API Gateway, AWS Lambda構成で、multipart/form-dataを使ってファイル送信をした際に、日本語ファイルが文字化けする事象に遭遇しました。その対応方法についてまとめます。 対象となる読者 multipart/form-dataを使って日本語ファイルを送信したが、ファイルが文字化けして困っている方 Lambda実行環境 Node.js 18.x multipart/form-dataで送信したデータのバックエンド処置には nachomazzara/parse-multipart-dataを使用 結論 最初に結論だけ述べると、フロント側でファイル名をエンコードして、デー

                                                  multipart/form-dataで、日本語ファイル名が文字化けする(API Gateway, Lambda構成) - Qiita
                                                • React Best Practices – Tips for Writing Better React Code

                                                  By Jean-Marc Möckel Two years ago, I started to learn and use React. And today I'm still using it at my day job as a Software Developer and in my own side projects. During that time I've come across a lot of "typical" issues. So I searched around and found some best practices that I've integrated into my workflow, and I've come up with things that have made my life or my team members' lives easier

                                                    React Best Practices – Tips for Writing Better React Code
                                                  • Minimum common web API

                                                    Introduction There is a wide base of ECMAScript runtime environments being used beyond web browsers, specifically in web server and edge platforms. A major benefit to this approach is the ability to use a single programming language across multiple contexts, reducing specialisation and allowing for reuse of code across the server and client side. Since code running in web browsers makes up the vas

                                                    • The Basics of Remix | CSS-Tricks

                                                      You’ve probably heard a lot of hype around one of the newest kids on the framework block, Remix. It may be surprising that it got its start back in 2019, but it was originally only available as a subscription-based premium framework. In 2021, the founders raised seed funding and open sourced the framework to let users start using Remix for free. The floodgates opened and everyone seems to be talki

                                                        The Basics of Remix | CSS-Tricks
                                                      • RelayでGraphQL multipart request specificationに沿ったファイルアップロードを行う - 私が歌川です

                                                        はじめに 2021/7/17現在、GraphQL APIを通じてファイルをアップロードする方法は規定されていない。そのため、GraphQL APIでファイルアップロードを行いたい場合は何らかの工夫を行う必要がある。 GraphQL APIリクエストの変数中にファイルをエンコードして送信することで、ファイルをアップロードするという目的は達成できそうに見える。が、この方法では巨大なJSONをリクエストボディとして送信する必要があり、効率がよくない。また、各種APIサーバーがファイルアップロードのためにメモリを効率的に利用する実装*1を行っていても、その恩恵を受けづらい。 GraphQL multipart request specificationという仕様に則ると、リクエストの変数中にファイルをエンコードして送信する方法と比べて、効率的にファイルをアップロードすることができる。仕様の解説やA

                                                          RelayでGraphQL multipart request specificationに沿ったファイルアップロードを行う - 私が歌川です
                                                        • Node.js

                                                          Notable Changes Deprecations and Removals (SEMVER-MAJOR) fs: runtime deprecate string coercion in fs.write, fs.writeFileSync (Livia Medeiros) #42607 (SEMVER-MAJOR) dns: remove dns.lookup and dnsPromises.lookup options type coercion (Antoine du Hamel) #41431 (SEMVER-MAJOR) process: runtime deprecate multipleResolves (Benjamin Gruenbaum) #41896 (SEMVER-MAJOR) stream: remove thenable support (Robert

                                                            Node.js
                                                          • Next.js App RouterのServer ActionsでCRUDの動作確認 | アールエフェクト

                                                            Next.js が 14 にバージョンアップされ Server Actions が Stable になりました。本書は Server Actions の 13 のアルファの時の動作確認の内容ですが Next.js のバージョン 14.0.1 でも動作することを確認しました。 Server ActionsはNext.jsのバージョン13.4で新たに追加された機能です。Sever Actionsを利用することでfetch関数などを利用したクライアント(ブラウザ)コードを記述することなくサーバ上でデータ更新(作成、更新、削除)を行うことができます。データ更新に関係するコードがクライアント側で必要なくなるためクライアントがダウンロードするJavaScriptコードの削減につながります。さらにプログレッシブエンハンスメントなフォームを作成することができるためJavaScriptが利用できない環境でも

                                                              Next.js App RouterのServer ActionsでCRUDの動作確認 | アールエフェクト
                                                            • 「AutoML(Vertex AI)」を使って作成したツールを、実際にアプリ化・製品化する方法 - Python転職初心者向けエンジニアリングブログ

                                                              こんにちは、皆さん!今日は、私が最近取り組んだ「AutoML(Vertex AI)」を使って作成したツールを、実際にアプリ化・製品化する方法について詳しくお話ししたいと思います。AutoMLは、機械学習の知識がなくても、データをインプットするだけで簡単に高精度なモデルを構築できる素晴らしいツールですが、作成したモデルをどうやって実際のアプリケーションに組み込むかは、別の課題です。 今回の記事では、Google CloudのVertex AIを使って作成した機械学習モデルを、Webアプリケーションに組み込み、製品化する流れを解説していきます。 AutoML(Vertex AI)とは? まず、簡単にVertex AIについて説明します。Vertex AIは、Google Cloudが提供する機械学習プラットフォームで、AutoML機能を使うことで、特別な機械学習の知識がなくてもモデルを作成でき

                                                                「AutoML(Vertex AI)」を使って作成したツールを、実際にアプリ化・製品化する方法 - Python転職初心者向けエンジニアリングブログ
                                                              • Axios POST requests: Handling errors, authentication, and best practices - LogRocket Blog

                                                                Sending requests to a web server is one of the most commonly performed tasks in frontend development. Creating a Facebook post, uploading a new Instagram image, sending a post on X, or signing up on a website all send requests to a server. Axios is a free and open source promised-based HTTP library that runs both in the browser and Node.js. In this article, you’ll learn how to use the Axios POST m

                                                                  Axios POST requests: Handling errors, authentication, and best practices - LogRocket Blog
                                                                1