並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 40 件 / 116件

新着順 人気順

react-libの検索結果1 - 40 件 / 116件

  • Reactコンポーネントをnpmパッケージとして開発する - Hatena Developer Blog

    こんにちは!ブログチームの id:amagitakayosi です。 今回は、業務で書いた小さなReactコンポーネントをnpmパッケージとして分離した話をします。 今回公開するパッケージ 実装方針 なぜnpmパッケージにするのか 他のコンポーネントの影響で壊れることを防げる アドホックな修正の積み重ねで複雑になることを防げる 本体プロジェクトのコードを削減できる デメリット Babelなパッケージのディレクトリ構成 実装 npmの注意点 reactはpeerDependenciesに入れる npm link を用いてローカル開発する場合、npmはpeerDependenciesを解決できない browserify-shimを利用する場合 npm publish 次回予告 追記 今回公開するパッケージ www.npmjs.com 今回は「無限スクロール」のためのReactコンポーネントを作

      Reactコンポーネントをnpmパッケージとして開発する - Hatena Developer Blog
    • Reactを使ったプロダクトのパフォーマンスを改善した話 | GMOメディア エンジニアブログ

      技術推進室の色川です。 ここ一年くらいランキングシェアというキュレーションメディアのフロントエンドを担当しています。その記事作成画面をReactで実装しており、先日アイテムの移動をDrag&Dropで行えるようにしたのですが、動きはガクガク、ブラウザは途中で固まる、という有様で、パフォーマンスチューニングを余儀なくされたのでその内容を紹介します。 [ランキングシェアの記事作成画面] ※画面は開発中のものです。(動画にしたら?との意見があったのですが、Windowsで画面を録画する方法が分からず…) Reactのパフォーマンス改善の基本Reactはコンポーネントをツリーとして管理していて、あるコンポーネントの更新が必要になるとそのコンポーネントをルートとするサブツリー全体を更新します。 引用元:Reactive, Component-based UIs with React | Consta

        Reactを使ったプロダクトのパフォーマンスを改善した話 | GMOメディア エンジニアブログ
      • The Best React-Based Framework | Gatsby

        Netlify is offering all Gatsby Cloud customers easy migration paths to Netlify to unite two industry-leading platforms into one.

          The Best React-Based Framework | Gatsby
        • Fullstack React: React Tutorial: Cloning Yelp

          As we're writing the Fullstack React book, we get a lot of questions about how to build large applications with React and how to integrate external APIs. tl;dr - This post will guide you through building a full React app, even with little to no experience in the framework. We're going build a Yelp clone in React You can get the completed code here Try the demo here Download the first chapter of ou

            Fullstack React: React Tutorial: Cloning Yelp
          • React.jsとFlux - Qiita

            今回はReact.jsとも関わりがあるFluxについて紹介したいと思います。 Flux is Architecture ↑の図はfacebookのfluxのリポジトリにあるものですが、Fluxは上記のようなArchitectureの名称です。facebook/fluxのrepositoryに行ってもらうとわかるのですが、実装としてはDispatcherの部分があるだけです。 Unidirectional data flow 先ほどの図を見てもらうとわかる通り、Fluxではアプリケーションの複雑さをなくすため、データの流れを一方向にします。 そのため全体の処理の流れはわかりやすくなりますが、Angular.jsなどで書くときに比べて冗長に感じることもあるかと思います。 しかしながら単純なデータの流れを作ることで、ある程度の規模になってアプリケーションが複雑化してもデータやイベントの流れがスパ

              React.jsとFlux - Qiita
            • Amplify + Nx (React + Typescript) で爆速で monorepo 環境を構築する - Techtouch Developers Blog

              この記事はテックタッチアドベントカレンダー9 日目の記事です。 8 日目は ポエマー masaru 氏による 少女に何が起ったか ~少女が他人のウェブサーバー構成を知るまでにやったいくつかのこと、そしてその結末~ でした。 ただのポエムかと思いきやかなりコアなセキュリティの話だったのでとても勉強になりました。 テックタッチのフロントエンドエンジニアの taka です。 最近テックタッチでは、品質を更に向上させるため、また今後開発を加速できるようにするためにコードを一新しました。 そこで Amplify と Nx を使って monorepo の開発環境を構築したので、その手順を記しておこうと思います。 ざっくり言うとこれらを使うことで、 monorepo の環境を簡単にセットアップしたい React + Typescript で開発したい ESLint や Jest などの開発ツールを使いた

                Amplify + Nx (React + Typescript) で爆速で monorepo 環境を構築する - Techtouch Developers Blog
              • Cleave.js - Format input text content when you are typing

                var cleave = new Cleave('.input-element', { creditCard: true, onCreditCardTypeChanged: function (type) { // update UI ... } });

                • Full-[Watch]! Power Season 6 Episode 12 Online Free 123Movies

                  Introduction Welcome to the third installment of the Learning React series. Today we will be learning about how Facebook’s Flux Architecture works, and how to use it in your own projects! If you haven’t already, I strongly recommend you check out the first two installments in this series, Getting Started & Concepts and Building a Real-Time Twitter Stream with Node and React. They aren’t a hard pre

                    Full-[Watch]! Power Season 6 Episode 12 Online Free 123Movies
                  • GitHub - tj/react-enroute: React router with a small footprint for modern browsers

                    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 - tj/react-enroute: React router with a small footprint for modern browsers
                    • React v15.4.0 – React Blog

                      This blog site has been archived. Go to react.dev/blog to see the recent posts. Today we are releasing React 15.4.0. We didn’t announce the previous minor releases on the blog because most of the changes were bug fixes. However, 15.4.0 is a special release, and we would like to highlight a few notable changes in it. Separating React and React DOM More than a year ago, we started separating React a

                        React v15.4.0 – React Blog
                      • React Color

                        • GitHub - brillout/awesome-react-components: Curated List of React Components & Libraries.

                          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 - brillout/awesome-react-components: Curated List of React Components & Libraries.
                          • Amplify StudioがどのようにFigmaデータをReact componentに変換しているのか

                            こんにちは!Amplifyの改善を行っている @watilde です。この記事は AWS Amplify Advent Calendar 2021 と Figma Advent Calendar 2021 の 25 日目の記事です。 Amplify Studio の発表 2021年の12月3日に開催された re:Invent にて Amplify Studio が発表されました。新機能としてFigmaでデザインしたコンポーネントを Amplify Studio にてデータベース内のテーブルのスキーマと紐付けし、可読性の高い React のコンポーネントとして出力する “Figma to code” が追加されました。 https://docs.amplify.aws/console/ 本記事では、amplifyコマンドがどのように Figma, Amplify Studio で設定したコン

                              Amplify StudioがどのようにFigmaデータをReact componentに変換しているのか
                            • GitHub - vercel/swr: React Hooks for Data Fetching

                              SWR is a React Hooks library for data fetching. The name “SWR” is derived from stale-while-revalidate, a cache invalidation strategy popularized by HTTP RFC 5861. SWR first returns the data from cache (stale), then sends the request (revalidate), and finally comes with the up-to-date data again. With just one hook, you can significantly simplify the data fetching logic in your project. And it also

                                GitHub - vercel/swr: React Hooks for Data Fetching
                              • TypeScript+webpack+Hypernova on RailsでSSRするときの設定ファイル - Bit Journey's Tech Blog

                                「Roppongi.rb #3 で「RailsエンジニアがReactを始めてSSRとReduxを導入するまで」という発表を行いました - Bit Journey's Tech Blog」あたりの話のなかで触れている、KibelaにおけるJSのビルド環境に関係する設定ファイルなどを公開します。 現在もこのときと基本的な構成は変わっておらず、すでに数ヶ月安定して運用できています。 環境 Rails v5.1 TypeScript v2.5 webpack v3.6 Hypernova*1 webpackerは不使用で、webpack-rails*2を使用 ディレクトリ構成 client/ - フロントエンド用TSコード(.ts, .tsx,.json) spec/javascripts/* - テスト用TSコード なおプロダクション用フロントエンドコードは 100% TypeScript です

                                  TypeScript+webpack+Hypernova on RailsでSSRするときの設定ファイル - Bit Journey's Tech Blog
                                • React 16 β版 – 公式ドキュメント日本語訳

                                  2017年7月24日に待望のReact 16のβ版(ベータ版)が公開テスト用として公開されました🎉。それに合わせてReactのGitHubのリポジトリでも専用のissue(#10249)が立てられました。そこにβ版のリリース内容について詳しい記述がありましたので、日本語に訳してみました。来たるReact 16の正式リリースに備えて、参考にしてもらえればと思います。 Getting Started: はじめにInstallation Instructions: インストール手順The beta has been published to NPM with the tag “next”. Regular NPM installs will continue to use the 15.6 release. To install the beta use: β版は”next”タグがついた状態で

                                    React 16 β版 – 公式ドキュメント日本語訳
                                  • Fluxなフレームワーク、Fluxxorの紹介 - マルシテイア

                                    この記事はVirtual DOMアドベントカレンダーの5日目の記事です。 Virtual DOMといえばReact。 ですが、ReactはMVCで言うViewの部分だけを担当するのであって、MVCフレームワーク的なものではありません。 なので、Model等、他の部分は自前でどうにかする必要があります。 そこで、facebookの中の人は、Reactを中心にしたアプリケーション構築パターンとしてFluxってのを提唱してます。 https://facebook.github.io/flux/ Fluxってどんな Flux、ざっくり言うと、 データは1方向に流れる イベントをActionとして定義 ロジック、データはStoreに全部入れる というアーキテクチャ。 図で言うと、MVCでは ↑みたいになるとM,C間の処理の流れムズかったのが、 Fluxだと という風にデータの流れが整理できて嬉しいで

                                    • GitHub - bvaughn/react-virtualized: React components for efficiently rendering large lists and tabular data

                                      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 - bvaughn/react-virtualized: React components for efficiently rendering large lists and tabular data
                                      • GitHub - react-hook-form/react-hook-form: 📋 React Hooks for form state management and validation (Web + React Native)

                                        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 - react-hook-form/react-hook-form: 📋 React Hooks for form state management and validation (Web + React Native)
                                        • GitHub - acdlite/recompose: A React utility belt for function components and higher-order components.

                                          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 - acdlite/recompose: A React utility belt for function components and higher-order components.
                                          • GitHub - atlassian/react-beautiful-dnd: Beautiful and accessible drag and drop for lists with React

                                            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 - atlassian/react-beautiful-dnd: Beautiful and accessible drag and drop for lists with React
                                            • GitHub - JedWatson/react-select: The Select Component for React.js

                                              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 - JedWatson/react-select: The Select Component for React.js
                                              • GitHub - pinterest/gestalt: A set of React UI components that supports Pinterest’s design language

                                                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.

                                                  GitHub - pinterest/gestalt: A set of React UI components that supports Pinterest’s design language
                                                • GitHub - seatgeek/react-infinite: A browser-ready efficient scrolling container based on UITableView

                                                  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 - seatgeek/react-infinite: A browser-ready efficient scrolling container based on UITableView
                                                  • GitHub - contiamo/restful-react: A consistent, declarative way of interacting with RESTful backends, featuring code-generation from Swagger and OpenAPI specs 🔥

                                                    ⚠️ restful-react has been deprecated: We are focusing on a new open api generator that generates react-query components: https://github.com/fabien0102/openapi-codegen ⚠️ Building React apps that interact with a RESTful API presents a set of questions, challenges and potential gotchas. This project aims to remove such pitfalls, and provide a pleasant developer experience when crafting such applicat

                                                      GitHub - contiamo/restful-react: A consistent, declarative way of interacting with RESTful backends, featuring code-generation from Swagger and OpenAPI specs 🔥
                                                    • GitHub - formatjs/formatjs: The monorepo home to all of the FormatJS related libraries, most notably react-intl.

                                                      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 - formatjs/formatjs: The monorepo home to all of the FormatJS related libraries, most notably react-intl.
                                                      • fuse-box で JS を bundle する + HMR - Qiita

                                                        It is blazing fast (it takes 50-100ms to re-bundle) which makes it extremely convenient for developers. It requires zero configuration to bundle such monsters like babel-core. FuseBox loves typescript, and does not require any additional configuration. It will compile and bundle your code within a fraction of a second, yet offering a comprehensive loader API. It is packed with features, and unfold

                                                          fuse-box で JS を bundle する + HMR - Qiita
                                                        • ⚛️ 🚀 Introducing React-Static — A progressive static-site framework for React!

                                                          ⚛️ 🚀 Introducing React-Static — A progressive static-site framework for React! Last updated on June 26th, 2018 At Nozzle.io, we take performance and user/developer experience very seriously. We’ve built and launched tons of sites using different static site tools that claim to solve the worlds problems, but we had yet to find one that satisfies our wildest dreams. While we highly appreciate the f

                                                            ⚛️ 🚀 Introducing React-Static — A progressive static-site framework for React!
                                                          • Test Driven React Tutorial

                                                            Testing is an important part of the development cycle. There is a name for code without tests: legacy code. When I first started learning React and JavaScript it was overwhelming to say the least. If you’re new to the JS/React community you’re probably feeling super overwhelmed as well. Thinking things like: Which build tool should I use? Which testing framework is right? What flux pattern should

                                                            • Testing React Components with Enzyme and Mocha - Semaphore

                                                              Full-stack web developer, passionate about solving engineering problems of all kinds with elegant solutions that deliver incredible user experiences. Some thoughts & some code @ ifelse.io. @markthethomas everywhere else. Introduction React has become an increasingly popular and widely-used JavaScript application tool for developing web applications. Popular frameworks like Angular.js, Ember.js, an

                                                                Testing React Components with Enzyme and Mocha - Semaphore
                                                              • Reactで条件によって出したり消したりするコンポーネントを書いた

                                                                <TogglePattern /> というコンポーネントを書きました。 azu/react-toggle-pattern: React Component that provide toggle pattern 名前の通りトグルするボタンとかを実装するのを想定して作りましたが、 もっと汎用的にパターンマッチ的な感じの制御ができるようになってます(A/Bテスト的なやつにも使えそう) 使い方は、childrenに表示が切り替わる要素を置く形で書くようになっています。 (こういう親になるコンポーネントってなんというのだろう?) 次の例ではisEditingの値が trueならばLeaveEditingButtonが表示 falseならばEnterEditingButtonが表示 という形になっています。 import {TogglePattern} from "react-toggle-patt

                                                                  Reactで条件によって出したり消したりするコンポーネントを書いた
                                                                • What the flux?

                                                                  The JavaScript Developer's Guide to Ubuntu on Windows 11 with WSL 6 months ago I've been really diving into wrapping my brain around React.js and Flux architecture the last couple of weeks. Not going to lie, I've been avoiding it. When I look at the docs and blog posts about Flux, and React, my brain goes... Things like componentDidMount, and Dispatchers, and ActionCreators, etc etc initially scar

                                                                    What the flux?
                                                                  • react-virtualized

                                                                    • React 16 RC · Issue #10294 · facebook/react

                                                                      Points of Interest This is a complete rewrite of React but we expect it to work with your existing code. If you fixed all deprecation warnings introduced in 15.x, the 16 beta should work for you. Third party libraries that relied on deprecated or unsupported APIs may need updates to work correctly with this new release. Now is a good time to file issues against libraries that have problems. (And t

                                                                        React 16 RC · Issue #10294 · facebook/react
                                                                      • webpackでReact/Reduxを本番環境用にビルド(production build)する - dackdive's blog

                                                                        はじめに React に限らず、JavaScript を使ってると本番環境用のビルド(以後、production build)として圧縮や難読化を行う必要があります。 webpack にはそのためのプラグインとして UglifyJsPlugin があるのは知っていましたが、 単純にこのプラグインを適用しただけだとブラウザで以下のような warnings が出ていることがわかりました。 Warning: It looks like you're using a minified copy of the development build of React. When deploying React apps to production, make sure to use the production build which skips development warnings and is

                                                                          webpackでReact/Reduxを本番環境用にビルド(production build)する - dackdive's blog
                                                                        • GitHub - gajus/babel-plugin-react-css-modules: Transforms styleName to className using compile time CSS module resolution.

                                                                          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 - gajus/babel-plugin-react-css-modules: Transforms styleName to className using compile time CSS module resolution.
                                                                          • Using RxJS for data flow instead of Flux with React - Qiita

                                                                            Update: I posted this as a Gist if the Qiita stylesheet bothers you: https://gist.github.com/justinwoo/08f9f8fcdcf865025f18 For almost a year now, I've been using this "flux" architecture to organize my React applications and to work on other people's projects, and its popularity has grown quite a lot, to the point where it shows up on job listings for React and a lot of people get confused about

                                                                              Using RxJS for data flow instead of Flux with React - Qiita
                                                                            • ReactのUIメモ - Qiita

                                                                              ReactのUIに関するメモです。ぼちぼち追加していきます。 Material-UI Material-UI メジャーどころ。Google、Materialが好きな、またはそれで問題ない場合には簡単に使えます。 TypeScriptで使うにはちょっと工夫要ります。 Semantic UI React Semantic UI React SemanticをRiactで扱うためのライブラリです。 ボタン1つとってみてもバリエーション多いです。 Grommet Grommet HP(Hewlett Packard)が公開している、業務アプリケーション向けに作成されたUIコンポーネント ラグジュアリーな雰囲気で、コンポーネントもかなり揃っています。 イメージは紫と○のようです。 github Components | Grommet サンプル 地図コンポーネントがあるのがめずらしいです。 メーター

                                                                                ReactのUIメモ - Qiita
                                                                              • @wakamshaさんの AltJS, AltCSS 課題を webpack, SCSS, TypeScript, React でやってみた | DevelopersIO

                                                                                @wakamshaさんの AltJS, AltCSS 課題を webpack, SCSS, TypeScript, React でやってみた はじめに こんにちは、すわ@秋葉原オフィスです。先日 Naoki YAMADA (@wakamsha) さんがSpeakerdeckで公開したAltJS/AltCSSに関するスライドを大変興味深く読ませてもらいました。 このスライドは社内の新卒社員向け研修の内容とのことで、最後に「課題」があったため、今回私なりに回答してみました。 …といったような、植木が執筆したブログに触発され、私が最近業務で使っている技術を織り交ぜた別解を作ってみました。 お題 JavaScript, CSS いずれも何かしらのプリプロセッサを使用すること(※HTMLは任意) ローカルサーバーの起動 ファイルを変更したら自動的にビルド処理が実行 コンテンツは「Hello, wor

                                                                                  @wakamshaさんの AltJS, AltCSS 課題を webpack, SCSS, TypeScript, React でやってみた | DevelopersIO
                                                                                • GitHub - domchristie/humps: 🐫 Underscore-to-camelCase converter (and vice versa) for strings and object keys in JavaScript.

                                                                                  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 - domchristie/humps: 🐫 Underscore-to-camelCase converter (and vice versa) for strings and object keys in JavaScript.