chore(redux-devtools): resolve warnings in examples (#546)

This commit is contained in:
Nathan Bierema 2020-08-01 15:25:34 -04:00 committed by GitHub
parent 15265763ee
commit 016a26c837
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 4 deletions

2
.gitignore vendored
View File

@ -8,4 +8,4 @@ build
coverage
.idea
.eslintcache
!packages/redux-slider-monitor/examples/todomvc/dist/
!packages/redux-slider-monitor/examples/todomvc/dist/index.html

View File

@ -2,7 +2,8 @@ var path = require('path');
var webpack = require('webpack');
module.exports = {
devtool: 'eval',
mode: process.env.NODE_ENV === 'production' ? 'production' : 'development',
devtool: 'eval-source-map',
entry: [
'webpack-dev-server/client?http://localhost:3000',
'webpack/hot/only-dev-server',

View File

@ -47,7 +47,7 @@ export default class TodoTextInput extends Component {
})}
type="text"
placeholder={this.props.placeholder}
autoFocus="true"
autoFocus={true}
value={this.state.text}
onBlur={::this.handleBlur}
onChange={::this.handleChange}

View File

@ -2,7 +2,8 @@ var path = require('path');
var webpack = require('webpack');
module.exports = {
devtool: 'eval',
mode: process.env.NODE_ENV === 'production' ? 'production' : 'development',
devtool: 'eval-source-map',
entry: [
'webpack-dev-server/client?http://localhost:3000',
'webpack/hot/only-dev-server',