Skip to content

Commit e4acb03

Browse files
authored
Port stock-ticker to hooks and add autotracking build (#33)
1 parent 6d900d4 commit e4acb03

File tree

148 files changed

+9098
-680
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+9098
-680
lines changed

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,6 @@ typings/
8080
.idea/
8181
runs/
8282
dist/
83-
lib/
84-
es/
85-
build/
83+
build/
84+
85+
!.yalc/react-redux/dist/

.yalc/react-redux/README.md

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,27 @@
33
Official React bindings for [Redux](https://github.com/reduxjs/redux).
44
Performant and flexible.
55

6-
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/reduxjs/react-redux/CI?style=flat-square) [![npm version](https://img.shields.io/npm/v/react-redux.svg?style=flat-square)](https://www.npmjs.com/package/react-redux)
6+
![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/reduxjs/react-redux/test.yml?style=flat-square) [![npm version](https://img.shields.io/npm/v/react-redux.svg?style=flat-square)](https://www.npmjs.com/package/react-redux)
77
[![npm downloads](https://img.shields.io/npm/dm/react-redux.svg?style=flat-square)](https://www.npmjs.com/package/react-redux)
8-
[![redux channel on discord](https://img.shields.io/badge/[email protected]?style=flat-square)](http://www.reactiflux.com)
8+
[![#redux channel on Discord](https://img.shields.io/badge/[email protected]?style=flat-square)](http://www.reactiflux.com)
99

1010
## Installation
1111

1212
### Using Create React App
1313

14-
The recommended way to start new apps with React Redux is by using the [official Redux+JS template](https://github.com/reduxjs/cra-template-redux) for [Create React App](https://github.com/facebook/create-react-app), which takes advantage of [Redux Toolkit](https://redux-toolkit.js.org/).
14+
The recommended way to start new apps with React Redux is by using the [official Redux+JS/TS templates](https://github.com/reduxjs/cra-template-redux) for [Create React App](https://github.com/facebook/create-react-app), which takes advantage of [Redux Toolkit](https://redux-toolkit.js.org/).
1515

1616
```sh
17+
# JS
1718
npx create-react-app my-app --template redux
19+
20+
# TS
21+
npx create-react-app my-app --template redux-typescript
1822
```
1923

2024
### An Existing React App
2125

22-
React Redux 7.1 requires **React 16.8.3 or later.**
26+
React Redux 8.0 requires **React 16.8.3 or later** (or React Native 0.59 or later).
2327

2428
To use React Redux with your React app, install it as a dependency:
2529

@@ -40,24 +44,16 @@ modules](https://webpack.js.org/api/module-methods/#commonjs).
4044

4145
If you don’t yet use [npm](http://npmjs.com/) or a modern module bundler, and would rather prefer a single-file [UMD](https://github.com/umdjs/umd) build that makes `ReactRedux` available as a global object, you can grab a pre-built version from [cdnjs](https://cdnjs.com/libraries/react-redux). We _don’t_ recommend this approach for any serious application, as most of the libraries complementary to Redux are only available on [npm](http://npmjs.com/).
4246

43-
## React Native
44-
45-
As of React Native 0.18, React Redux 5.x should work with React Native. If you have any issues with React Redux 5.x on React Native, run `npm ls react` and make sure you don’t have a duplicate React installation in your `node_modules`. We recommend that you use `[email protected]` which is better at avoiding these kinds of issues.
46-
4747
## Documentation
4848

49-
The React Redux docs are now published at **https://react-redux.js.org** .
50-
51-
We're currently expanding and rewriting our docs content - check back soon for more updates!
49+
The React Redux docs are published at **https://react-redux.js.org** .
5250

5351
## How Does It Work?
5452

55-
We do a deep dive on how React Redux works in [this readthesource episode](https://www.youtube.com/watch?v=VJ38wSFbM3A).
56-
57-
Also, the post [The History and Implementation of React-Redux](https://blog.isquaredsoftware.com/2018/11/react-redux-history-implementation/)
53+
The post [The History and Implementation of React-Redux](https://blog.isquaredsoftware.com/2018/11/react-redux-history-implementation/)
5854
explains what it does, how it works, and how the API and implementation have evolved over time.
5955

60-
Enjoy!
56+
There's also a [Deep Dive into React-Redux](https://blog.isquaredsoftware.com/2019/06/presentation-react-redux-deep-dive/) talk that covers some of the same material at a higher level.
6157

6258
## License
6359

0 commit comments

Comments
 (0)