mirror of
https://github.com/gosticks/react-table.git
synced 2025-10-16 11:55:36 +00:00
[v6] fixes broken lifecycle.js (#1699)
* resumes broken lifecycle.js * add back componentDidMount in lifecycle.js
This commit is contained in:
parent
3107517226
commit
22c703391c
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,3 +9,4 @@ react-table.css
|
||||
.idea
|
||||
.DS_Store
|
||||
.history
|
||||
.vscode
|
||||
@ -1,9 +1,7 @@
|
||||
export default Base =>
|
||||
class extends Base {
|
||||
constructor (props) {
|
||||
super(props)
|
||||
|
||||
this.state = this.calculateNewResolvedState(this.getDataModel(this.getResolvedState(), true))
|
||||
UNSAFE_componentWillMount () {
|
||||
this.setStateWithData(this.getDataModel(this.getResolvedState(), true))
|
||||
}
|
||||
|
||||
componentDidMount () {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user