Skip to content

Commit

Permalink
v3.0.0
Browse files Browse the repository at this point in the history
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](prescottprue/react-redux-firebase#581)
* [X] Support for react strict mode - [#564](prescottprue/react-redux-firebase#564)
* [X] Improved bundle size support (should include way to audit size) - [#573](prescottprue/react-redux-firebase#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)
  • Loading branch information
prodev90 committed Oct 12, 2019
2 parents 3d6e8fe + c7de148 commit 10293e2
Show file tree
Hide file tree
Showing 223 changed files with 65,943 additions and 29,493 deletions.
16 changes: 8 additions & 8 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"presets": [
"react",
["env", {
["minify", {
"mangle": false
}],
"@babel/preset-react",
["@babel/env", {
"targets": {
"chrome": 52,
"browsers": ["last 2 versions", "safari >= 7"]
Expand All @@ -11,10 +14,7 @@
"plugins": [
"lodash",
"add-module-exports",
"transform-object-rest-spread",
"transform-object-assign",
"transform-class-properties",
"transform-export-extensions"
"@babel/plugin-proposal-class-properties"
],
"env": {
"es": {
Expand All @@ -25,8 +25,8 @@
},
"test": {
"plugins": [
"transform-runtime",
"transform-async-to-generator",
"@babel/plugin-transform-runtime",
"@babel/transform-async-to-generator",
["module-resolver", {
"root": ["./src"]
}]
Expand Down
11 changes: 4 additions & 7 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,22 @@
module.exports = {
root: true,

parser: 'babel-eslint',

extends: ['standard', 'standard-react', 'prettier', 'prettier/react'],
plugins: ['babel', 'react', 'prettier'],

extends: ['standard', 'standard-react', 'prettier', 'prettier/react', 'plugin:jsdoc/recommended'],
plugins: ['babel', 'react', 'prettier', 'react-hooks', 'jsdoc'],
settings: {
react: {
version: 'detect'
}
},

env: {
browser: true,
es6: true
},

rules: {
semi: [2, 'never'],
'no-console': 'error',
'jsdoc/newline-after-description': 0,
'jsdoc/no-undefined-types': [1, { definedTypes: ['React', 'firebase'] }],
'prettier/prettier': ['error', {
singleQuote: true,
trailingComma: 'none',
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ examples/**/node_modules
_book/**
_site/**
coverage
.nyc_output
dist
es
lib
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ sudo: false
language: node_js

node_js:
- 6 # Legacy
- 8 # Maintenance LTS
- 10 # Active LTS
- 12 # Current Release

notifications:
email:
Expand Down
Loading

0 comments on commit 10293e2

Please sign in to comment.