Coder Social home page Coder Social logo

ha-se / learning-react-2e-ja Goto Github PK

View Code? Open in Web Editor NEW

This project forked from oreilly-japan/learning-react-2e-ja

0.0 0.0 0.0 1009 KB

『Reactハンズオンラーニング 第2版』のリポジトリ

HTML 54.73% JavaScript 43.78% CSS 1.26% TypeScript 0.22% Shell 0.01%

learning-react-2e-ja's Introduction

Reactハンズオンラーニング 第2版


表紙


本リポジトリはオライリー・ジャパン発行書籍『Reactハンズオンラーニング 第2版』のサポートサイトです。

サンプルコード

ファイル構成

フォルダ名 説明
chapter-01 オフィシャルなサイトへのリンク集
chapter-02 2章で使用するソースコード
... ...
chapter-12 12章で使用するソースコード

サンプルコードの解説は本書籍をご覧ください。

ライセンス

正誤表

下記の誤りがありました。お詫びして訂正いたします。

本ページに掲載されていない誤植など間違いを見つけた方は、[email protected]までお知らせください。

第2刷まで

■2章 P.30 20行目

asyn/await

async/await

■5章 P.95 11行目

以下は分離したInsttructionsコンポーネントです。

以下は分離したInstructionsコンポーネントです。

■8章 P.176 下から6行目の「if (data.login === login) return;」の行が不要

  if (!data) return;
  if (data.login === login) return;
  const { name, avatar_url, location } = data;

  if (!data) return;
  const { name, avatar_url, location } = data;

■8章 P.177 10行目

また、データが未取得の場合や、すでに保存済みの場合は何もせずにreturnしています。

また、データが未取得の場合は何もせずにreturnしています。

■8章 P.177 下から16行目の「if (data.login === login) return;」の行が不要

    if (!data) return;
    if (data.login === login) return;
    const { name, avatar_url, location } = data;

    if (!data) return;
    const { name, avatar_url, location } = data;

■8章 P.178 10行目

いずれの処理も、すでに処理済みのデータを再処理しないようにif文でreturnしています。

また、すでに取得したデータを再取得しないようにif文でreturnしています。

第1刷

■2章 P.27 20行目

API呼び出しnnn等

API呼び出し等

■2章 P.27 25行目

以前はサーバーが公開するREST REST APIを呼び出すために、

以前はサーバーが公開するREST APIを呼び出すために、

■3章 P.44 下から4行目の「return frederick;」の行が不要

function selfEducate() {
  frederick.canRead = true;
  frederick.canWrite = true;
  return frederick;
}

function selfEducate() {
  frederick.canRead = true;
  frederick.canWrite = true;
}

learning-react-2e-ja's People

Contributors

kuu avatar miyagawa-orj avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.