&:empty
display none
!important, it can't have space on HTML
✌️
const { concat, mapKeys, merge, uniq } = require('lodash'); | |
/** | |
* Tweaked from original by Mike Engel | |
* https://github.com/jantimon/html-webpack-plugin/issues/782#issuecomment-331229728 | |
* | |
* Use this with multiple Webpack configurations that generate different builds | |
* for modern and legacy browsers. But use the same instance of the plugin in both configurations. | |
* | |
* It keeps track of assets seen in each build configuration, and appends script tags for |
class Sortable extends React.Component { | |
componentDidMount() { | |
// Every React component has a function that exposes the | |
// underlying DOM node that it is wrapping. We can use that | |
// DOM node, pass it to jQuery and initialize the plugin. | |
// You'll find that many jQuery plugins follow this same pattern | |
// and you'll be able to pass the component DOM node to jQuery | |
// and call the plugin function. |
<?xml version="1.0" encoding="utf-8" ?> | |
<configuration> | |
<system.webServer> | |
<rewrite> | |
<rules> | |
<remove name="pushState" /> | |
<rule name="pushState" stopProcessing="true"> | |
<match url=".*" /> | |
<conditions logicalGrouping="MatchAll"> | |
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.