react-redux-links

授权协议 Readme
开发语言 JavaScript
所属分类 Web应用开发、 常用JavaScript包
软件类型 开源软件
地区 不详
投 递 者 丌官翰采
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

React/Redux Links

Curated tutorial and resource links I've collected on React, Redux, ES6, and more, meant to be a collection of high-quality articles and resources for someone who wants to learn about the React-Redux ecosystem, as well as a source for quality information on advanced topics and techniques. Not quite "awesome", but hopefully useful as a starting point I can give to others. Suggestions welcome.

Another important resource is the Reactiflux community on Discord, which has chat channels dedicated to discussion of React, Redux, and other related technologies. There's always a number of people hanging out and answering questions, and it's a great place to ask questions and learn. The invite link is at https://www.reactiflux.com.

You might also want to check out my categorized list of Redux-related addons, libraries, and utilities, at Redux Ecosystem Links. Also see Community Resources for links to other links lists, podcasts, and email newsletters. Finally, I also keep a dev blog at blog.isquaredsoftware.com, where I write about React, Redux, Webpack, and more.

Table of Contents

Getting Started

Basic Tutorials

Intermediate Concepts

Advanced Topics

Comparisons and Discussion

Best of the Best / Suggested Reading List

All of the links in this collection are worth reading, but there's obviously a LOT of them. Here's a "best-of" list to get you started:

Basic Concepts and Learning Approaches

Overviews of Javascript Tools and Concepts

Suggested Learning Approaches

  • A Study Plan to Cure Javascript Fatigue
    The author of the "State of JS 2016" survey gives an excellent step-by-step study plan to use when learning the Javascript ecosystem.
  • Grab Front-End Study Guide
    An excellent guide to learning front-end technologies, based on "A Study Plan to Cure Javascript Fatigue". Includes descriptions of each topic, links to learning resources, and estimates for how much time to spend on each topic.
  • React How-To
    Pete Hunt, one of React's creators, gives a high-level suggested order to use when learning React-related technologies (React, NPM, bundlers, ES6, routing, and Flux/Redux)
  • Timeline for Learning React
    How to Learn React
    Another high-level suggested timeline for how to approach learning React and related technologies.
  • Tips to learn React + Redux
    An extensive and excellent list of suggestions to follow when learning and using React and Redux. Tips include when to use different component patterns, when to bring in a state management library, Redux state structuring, unit testing, and much more.

Learning Core Javascript (ES5)

General Resources

Books

  • Eloquent Javascript
    A full online book teaching Javascript from the ground up. Very recommended.
  • You Don't Know Javascript
    An online book series intended to teach all aspects of Javascript, including the "tougher" parts.
  • Exploring Javascript
    Multiple free online books from Dr. Axel Rauschmayer. "Speaking Javascript" covers all of Javascript through ES5; "Exploring ES6" covers ES6 in depth; and other books look at versions of Javascript after ES6 and how to set up an ES6+ development environment.

Learning Current Javascript (ES6+)

ES6 Feature Overviews

In-Depth Details

  • ES6 In Depth
    Many articles covering each feature in greater detail
  • Exploring ES6
    A full online book covering every aspect of ES6 in fine detail

React Walkthrough

If you are new to React, try reading these articles in order.

Getting Started

  • React Documentation: Hello World
    React Documentation: Tutorial
    The official React documentation, recently rewritten with an excellent set of tutorials, explanations, and API information.
  • Create-React-App
    The official project creation tool from the React team. Allows you to set up a new React project, with no configuration work required.
  • Simple React Development in 2017
    An excellent set of instructions for setting up a React project with minimal fuss and effort needed. Includes links to some useful resources, and info on deploying the app to production.
  • Modern Web Development with React and Redux
    An up-to-date HTML slideshow that introduces React and Redux, discusses why they help make applications easier to write via declarative code and predictable data flow, and demonstrates their basic concepts and syntax. Includes several interactive React component examples.
  • Learn Raw React
    A ground-up React tutorial that leaves out any other related "modern" technologies, Very recommended if you want to skip the buzzwords and acronyms.
  • 30 Days of React
    A tutorial series that walks you through how to use React, from the ground up, in 30 bite-size articles covering everything from "What is React?" to data management to testing and deployment.

Data Flow: “State” and “Props”

Component Patterns

  • React Patterns
    An excellent list of common patterns for structuring React components, with examples
  • The React Component Lifecycle
    A useful description of the order and purpose of React’s component lifecycle methods.
  • Presentational and Container Components
    Dan Abramov's foundational article on classifying components based on intent and behavior. A must-read for anyone using React.
  • Mixins Considered Harmful
    Dan Abramov explains why the React team discourages use of mixins, and prefers a pattern called “Higher Order Components” instead
  • Components, React, and Flux
    A fantastic HTML slideshow that discusses how to organize code as reusable components, and the basic concepts and benefits of a Flux unidirectional architecture
  • Reactive, Component-Based UIs
    Another fantastic HTML slideshow describing the three principles of React: "functional over OOP", "stateless over stateful", "clarity over brevity" (use arrow keys to advance slides)

Function Binding and this

AJAX requests and Data Fetching

Immutable Data

Functional Programming

  • The Little Idea of Functional Programming
    Describes the three basic principles of FP: "data in/data out", "code as data", and "function composition" all the way down, and demonstrates transforming some data. Has some very helpful graphics and illustrations.
  • What Is Functional Programming?
    Describes how side effects and "hidden inputs" add complexity to code, in very clear terms.

Forms and Inputs

Styles

  • Styling in React
    An introduction to using React's built-in inline styling abilities
  • How To Style React
    An excellent overview of the four major ways to deal with styles in React, and what the various tools are. Includes a decision tree to help you decide what to use.

Redux

Getting Started

  • Redux Docs
    The official Redux documentation. Contains an excellent tutorial that walks you through “here’s what you want to do, and how we came up with this”, as well as recipes for more advanced topics. Be sure to read through the FAQ for answers to common questions and links to further information.
  • Getting Started with Redux - Video Series
    Getting Started with Redux - Course Notes
    Dan Abramov, the creator of Redux demonstrates various concepts in 30 short (2-5 minute) videos. The linked Github repo contains notes and transcriptions of the videos.
  • Building React Applications with Idiomatic Redux - Video Series
    Building React Applications with Idiomatic Redux - Course Notes
    Dan Abramov's second video tutorial series, continuing directly after the first. Includes lessons on store initial state, using Redux with React Router, using "selector" functions, normalizing state, use of Redux middleware, async action creators, and more. The linked Github repo contains notes and transcriptions of the videos.
  • Redux: From Twitter Hype to Production
    An extremely well-produced slideshow that visually steps through core Redux concepts, usage with React, project organization, and side effects with thunks and sagas. Has some absolutely fantastic animated diagrams demonstrating how data flows through a React+Redux architecture.
  • Leveling Up with React: Redux
    A very well-written introduction to Redux and its related concepts, with some useful cartoon-ish diagrams.
  • Connect.js explained
    A very simplified version of React Redux's connect() function that illustrates the basic implementation

AJAX, Timeouts, and other “Side Effects”

Middleware

  • Redux Middleware
    A tutorial describing how Redux compares to typical "MVC", what a "middleware" is, what they can do, and how you can test them.
  • Exploring Redux Middlewares
    Understanding middlewares through a series of small experiments

Debugging

Writing Reducers

  • Redux Docs: Structuring Reducers
    Comprehensive information on writing reducers and structuring data, covering reducer composition, use of combineReducers, normalizing data, proper immutable updating, and more.
  • Taking Advantage of combineReducers
    Examples of using combineReducers multiple times to produce a state tree, and some thoughts on tradeoffs in various approaches to reducer logic.

Selectors and Normalization

Webpack

Getting Started

Configuration and Concepts

  • Webpack: The Confusing Parts
    A great simplification and breakdown of the different pieces that make up a Webpack configuration: dev vs prod, CLI vs dev-server, the "entry" option, the "output" option / "path" vs "publicPath", loaders and configuration, Babel, plugins, and path resolving.
  • Angular + Webpack < 3
    A long presentation that describes Webpack and its core concepts in depth. A few parts are Angular-centric, but still an extremely clear and informative set of slides. Covers topics like the "entry" and "output" options, "loaders", and "plugins".
  • Advanced Webpack
    An in-depth presentation that walks through Webpack concepts, terms, configuration, and usage. Covers a number of advanced topics, and very worth reading.

Build Optimization

Hot Module Reloading

  • 最近,在其他的博客中看到一篇好文章,可以帮助大家理解什么是react-redux,原文地址:https://leozdgao.me/reacthe-reduxde-qiao-jie-react-redux/ 原文如下: 之前一直在探索React相关的东西,手上有个SPA项目,于是准备上Redux试试水。Redux本身和React并没有之间的关联,它是一个通用Javscript App模块,用做Ap

  • Fork from github import React from "react"; import ReactDOM from "react-dom"; import { createStore, combineReducers, applyMiddleware } from "redux"; import { Provider } from "react-redux"; import cr

  • React redux [ˈriˌdʌks] 〇、预备 安装 npm install --save redux npm install --save react-redux(基础款用不上) npm install --save redux-thunk npm install --save-dev redux-devtools(不必要) 一、基础版 已经将reducer和actions抽出 1.仓

  • 工作流程 用户(通过View)发出Action,发出方式就用到了dispatch方法。 Store自动调用Reducer,并且传入两个参数:当前State和收到的Action,Reducer会返回新的State State一旦有变化,Store就会调用监听函数,来更新View。 可以看到,在整个流程中数据都是单向流动的,这种方式保证了流程的清晰。 名词解释 createStore 创建 store

 相关资料
  • 目录 为何组件没有被重新渲染、或者 mapStateToProps 没有运行? 为何组件频繁的重新渲染? 怎样使 mapStateToProps 执行更快? 为何不在被连接的组件中使用 this.props.dispatch ? 应该只连接到顶层组件吗,或者可以在组件树中连接到不同组件吗? React Redux 为何组件没有被重新渲染、或者 mapStateToProps 没有运行? 目前来看,

  • Universal React Redux Boilerplate A universal React/Redux boilerplate with sensible defaults. Out of the box, thisboilerplate comes with: Server-side rendering with Express Code splitting with dynamic

  • React-Redux-Enterprise A React-Redux boilerplate for enterprise web applications. Before you start with this boilerplate, please take a few minutes to read this article and see if you really need this

  • Live redux-react-starter This repository contains the minimal app to get started with redux, react, hot-reloading, async function and some other great stuffs. How to yarn 0.18+ must be present on your

  • React Redux Saucepan A minimal Universal React redux JS stack using Flow, with hot reloading, linting and server-side rendering. This is a universal react project. It provides server-side rendering an

  • React-Redux-Flask Boilerplate application for a Flask JWT Backend and a React/Redux Front-End with Material UI. Python 2.7+ or 3.x Pytest Heroku Flask React Redux React-Router 2.0 React-Router-Redux B