James

React’s documentation tells us not to manipulate state of components directly, and that we should use setState() to handle any changes. This has two big “gotchas!” that I encountered. 1) […]

To enable source maps for webpack in gulp, add the attribute: config.devtool = ‘source-map’ into the webpack config file. This will give accurate line numbers for javascript errors from the […]

This is a list of ATOM packages I’ve found useful. https://atom.io/packages/atom-beautify https://atom.io/packages/minimap https://atom.io/packages/multiline-tab https://atom.io/packages/highlight-selected https://atom.io/packages/highlight-line https://atom.io/packages/gulp-control https://atom.io/packages/svn

Edit the wp-config.php file and add: define(‘FS_METHOD’, ‘direct’) Changing the owner will stop the prompt, but will sometimes break customization and previews. DO NOT do: cd /var/www/html/siteFolder sudo chown -R […]