Skip to content

Commit 489be8c

Browse files
authored
v3.0.0
All changes from v3.0.0 pre-release versions including: * [X] Hooks (`useFirebase`, `useFirebaseConnect`, `useFirestore`, `useFirestoreConnect`) * [X] Rebuild on stable React Context API * [X] Support react-redux v6 - [#581](#581) * [X] Support for react strict mode - [#564](#564) * [X] Improved bundle size support (should include way to audit size) - [#573](#573) * [X] Support/Docs for stable react context API * [X] Switch `firebaseConnect` and `firestoreConnect` to using `componentDidMount` in place of `componentWillMount` which is deprecated in newer react versions (as [described here](https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#fetching-external-data)) More details available in [the v3.0.0 roadmap](https://github.com/prescottprue/react-redux-firebase/wiki/v3.0.0-Roadmap)
2 parents e6bc218 + dce50fd commit 489be8c

File tree

223 files changed

+65943
-29493
lines changed

Some content is hidden

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

223 files changed

+65943
-29493
lines changed

.babelrc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{
22
"presets": [
3-
"react",
4-
["env", {
3+
["minify", {
4+
"mangle": false
5+
}],
6+
"@babel/preset-react",
7+
["@babel/env", {
58
"targets": {
69
"chrome": 52,
710
"browsers": ["last 2 versions", "safari >= 7"]
@@ -11,10 +14,7 @@
1114
"plugins": [
1215
"lodash",
1316
"add-module-exports",
14-
"transform-object-rest-spread",
15-
"transform-object-assign",
16-
"transform-class-properties",
17-
"transform-export-extensions"
17+
"@babel/plugin-proposal-class-properties"
1818
],
1919
"env": {
2020
"es": {
@@ -25,8 +25,8 @@
2525
},
2626
"test": {
2727
"plugins": [
28-
"transform-runtime",
29-
"transform-async-to-generator",
28+
"@babel/plugin-transform-runtime",
29+
"@babel/transform-async-to-generator",
3030
["module-resolver", {
3131
"root": ["./src"]
3232
}]

.eslintrc.js

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,22 @@
11
module.exports = {
22
root: true,
3-
43
parser: 'babel-eslint',
5-
6-
extends: ['standard', 'standard-react', 'prettier', 'prettier/react'],
7-
plugins: ['babel', 'react', 'prettier'],
8-
4+
extends: ['standard', 'standard-react', 'prettier', 'prettier/react', 'plugin:jsdoc/recommended'],
5+
plugins: ['babel', 'react', 'prettier', 'react-hooks', 'jsdoc'],
96
settings: {
107
react: {
118
version: 'detect'
129
}
1310
},
14-
1511
env: {
1612
browser: true,
1713
es6: true
1814
},
19-
2015
rules: {
2116
semi: [2, 'never'],
2217
'no-console': 'error',
18+
'jsdoc/newline-after-description': 0,
19+
'jsdoc/no-undefined-types': [1, { definedTypes: ['React', 'firebase'] }],
2320
'prettier/prettier': ['error', {
2421
singleQuote: true,
2522
trailingComma: 'none',

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ examples/**/node_modules
1818
_book/**
1919
_site/**
2020
coverage
21+
.nyc_output
2122
dist
2223
es
2324
lib

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ sudo: false
33
language: node_js
44

55
node_js:
6-
- 6 # Legacy
76
- 8 # Maintenance LTS
87
- 10 # Active LTS
8+
- 12 # Current Release
99

1010
notifications:
1111
email:

0 commit comments

Comments
 (0)