はてなブックマークアプリ

サクサク読めて、
アプリ限定の機能も多数!

アプリで開く

はてなブックマーク

  • はてなブックマークって?
  • アプリ・拡張の紹介
  • ユーザー登録
  • ログイン
  • Hatena

はてなブックマーク

トップへ戻る

  • 総合
    • 人気
    • 新着
    • IT
    • 最新ガジェット
    • 自然科学
    • 経済・金融
    • おもしろ
    • マンガ
    • ゲーム
    • はてなブログ(総合)
  • 一般
    • 人気
    • 新着
    • 社会ニュース
    • 地域
    • 国際
    • 天気
    • グルメ
    • 映画・音楽
    • スポーツ
    • はてな匿名ダイアリー
    • はてなブログ(一般)
  • 世の中
    • 人気
    • 新着
    • 新型コロナウイルス
    • 働き方
    • 生き方
    • 地域
    • 医療・ヘルス
    • 教育
    • はてな匿名ダイアリー
    • はてなブログ(世の中)
  • 政治と経済
    • 人気
    • 新着
    • 政治
    • 経済・金融
    • 企業
    • 仕事・就職
    • マーケット
    • 国際
    • はてなブログ(政治と経済)
  • 暮らし
    • 人気
    • 新着
    • カルチャー・ライフスタイル
    • ファッション
    • 運動・エクササイズ
    • 結婚・子育て
    • 住まい
    • グルメ
    • 相続
    • はてなブログ(暮らし)
    • 掃除・整理整頓
    • 雑貨
    • 買ってよかったもの
    • 旅行
    • アウトドア
    • 趣味
  • 学び
    • 人気
    • 新着
    • 人文科学
    • 社会科学
    • 自然科学
    • 語学
    • ビジネス・経営学
    • デザイン
    • 法律
    • 本・書評
    • 将棋・囲碁
    • はてなブログ(学び)
  • テクノロジー
    • 人気
    • 新着
    • IT
    • セキュリティ技術
    • はてなブログ(テクノロジー)
    • AI・機械学習
    • プログラミング
    • エンジニア
  • おもしろ
    • 人気
    • 新着
    • まとめ
    • ネタ
    • おもしろ
    • これはすごい
    • かわいい
    • 雑学
    • 癒やし
    • はてなブログ(おもしろ)
  • エンタメ
    • 人気
    • 新着
    • スポーツ
    • 映画
    • 音楽
    • アイドル
    • 芸能
    • お笑い
    • サッカー
    • 話題の動画
    • はてなブログ(エンタメ)
  • アニメとゲーム
    • 人気
    • 新着
    • マンガ
    • Webマンガ
    • ゲーム
    • 任天堂
    • PlayStation
    • アニメ
    • バーチャルYouTuber
    • オタクカルチャー
    • はてなブログ(アニメとゲーム)
    • はてなブログ(ゲーム)
  • おすすめ

    ノーベル賞

『gist.github.com』

  • 人気
  • 新着
  • すべて
  • Why is React doing this?

    37 users

    gist.github.com/sebmarkbage

    WhyReact.md I heard some points of criticism to how React deals with reactivity and it's focus on "purity". It's interesting because there are really two approaches evolving. There's a mutable + change tracking approach and there's an immutability + referential equality testing approach. It's difficult to mix and match them when you build new features on top. So that's why React has been pushing a

    • テクノロジー
    • 2019/09/05 10:52
    • react
    • github
    • あとで読む
    • it
    • The Rules of React · GitHub

      11 users

      gist.github.com/sebmarkbage

      The Rules.md The Rules of React All libraries have subtle rules that you have to follow for them to work well. Often these are implied and undocumented rules that you have to learn as you go. This is an attempt to document the rules of React renders. Ideally a type system could enforce it. What Functions Are "Pure"? A number of methods in React are assumed to be "pure". On classes that's the const

      • テクノロジー
      • 2018/10/20 17:00
      • react
      • あとで読む
      • The Rules of React

        42 users

        gist.github.com/sebmarkbage

        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

        • テクノロジー
        • 2018/10/19 07:54
        • react
        • あとで読む
        • article
        • development
        • programming
        • Higher-order Components

          10 users

          gist.github.com/sebmarkbage

          Enhance.js �Q� �� `O� �� import { Component } from "React"; export var Enhance = ComposedComponent => class extends Component { constructor() { this.state = { data: null }; } componentDidMount() { this.setState({ data: 'Hello' }); } render() { return <ComposedComponent {...this.props} data={this.state.data} />; } }; HigherOrderComponent.js @;� �� @�� �� import { Enhance } from "./Enhance"; class M

          • テクノロジー
          • 2015/03/23 13:56
          • React
          • JavaScript
          • JSX Spread Attributes

            4 users

            gist.github.com/sebmarkbage

            JSXSpreadAttributes.md JSX Spread Attributes If you know all the properties that you want to place on a component a head of time, it is easy to use JSX: var component = <Component foo={x} bar={y} />; Mutating Props is Bad, mkay If you don't know which properties you want to set, you might be tempted to add them onto the object later: var component = <Component />; component.props.foo = x; // bad c

            • テクノロジー
            • 2014/12/09 14:49
            • jsx
            • javascript
            • New React Element Factories and JSX

              3 users

              gist.github.com/sebmarkbage

              ElementFactoriesAndJSX.md New React Element Factories and JSX In React 0.12, we're making a core change to how React.createClass(...) and JSX works. If you're using JSX in the typical way for all (and only) React components, then this transition will be seamless. Otherwise there are some minor breaking changes described below. The Problem Currently var Button = React.createClass(...) does two thin

              • テクノロジー
              • 2014/12/01 01:48
              • React
              • JavaScript
              • React (Virtual) DOM Terminology

                3 users

                gist.github.com/sebmarkbage

                react-terminology.md React (Virtual) DOM Terminology In React's terminology, there are five core types that are important to distinguish: ReactElement / ReactElement Factory ReactNode ReactComponent / ReactComponent Class React Elements The primary type in React is the ReactElement. It has four properties: type, props, key and ref. It has no methods and nothing on the prototype. You can create one

                • 暮らし
                • 2014/10/17 11:24

                このページはまだ
                ブックマークされていません

                このページを最初にブックマークしてみませんか?

                『gist.github.com』の新着エントリーを見る

                キーボードショートカット一覧

                j次のブックマーク

                k前のブックマーク

                lあとで読む

                eコメント一覧を開く

                oページを開く

                はてなブックマーク

                • 総合
                • 一般
                • 世の中
                • 政治と経済
                • 暮らし
                • 学び
                • テクノロジー
                • エンタメ
                • アニメとゲーム
                • おもしろ
                • アプリ・拡張機能
                • 開発ブログ
                • ヘルプ
                • お問い合わせ
                • ガイドライン
                • 利用規約
                • プライバシーポリシー
                • 利用者情報の外部送信について
                • ガイドライン
                • 利用規約
                • プライバシーポリシー
                • 利用者情報の外部送信について

                公式Twitter

                • 公式アカウント
                • ホットエントリー

                はてなのサービス

                • はてなブログ
                • はてなブログPro
                • 人力検索はてな
                • はてなブログ タグ
                • はてなニュース
                • ソレドコ
                • App Storeからダウンロード
                • Google Playで手に入れよう
                Copyright © 2005-2025 Hatena. All Rights Reserved.
                設定を変更しましたx