I hereby claim:
- I am notafunction on github.
- I am mattlatham (https://keybase.io/mattlatham) on keybase.
- I have a public key ASCD1q1qZCZw4nTODrgjmtL1plYYWyXafUlxHAEFyZklLwo
To claim this, I am signing this object:
| ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFAjjOZ1U8EFamVd1qA9WjP2ZHWOGKNe+nbgYWpN9YwA |
| #!/bin/bash | |
| PATH="$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/phil/.bin" | |
| RSYNC_ROOT_EXCLUDES=" | |
| --exclude /cdrom/ | |
| --exclude /dev/ | |
| --exclude /exports/ | |
| --exclude /proc/ | |
| --exclude /run/ | |
| --exclude /sys/ |
| // Class component with lifecycle hook | |
| componentDidUpdate(prevProps, prevState) { | |
| Object.entries(this.props).forEach(([key, val]) => | |
| prevProps[key] !== val && console.log(`Prop '${key}' changed`) | |
| ); | |
| Object.entries(this.state).forEach(([key, val]) => | |
| prevState[key] !== val && console.log(`State '${key}' changed`) | |
| ); | |
| } |
I hereby claim:
To claim this, I am signing this object:
| const webpack = require('webpack'); | |
| const path = require('path'); | |
| const ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
| const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
| const PreloadWebpackPlugin = require('preload-webpack-plugin'); | |
| const UglifyJSPlugin = require('uglifyjs-webpack-plugin'); | |
| const SWPrecacheWebpackPlugin = require('sw-precache-webpack-plugin'); | |
| const ScriptExtHtmlWebpackPlugin = require('script-ext-html-webpack-plugin'); | |
| const host = process.env.HOST || 'localhost'; |