(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.
(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.
{ | |
"cssconf": { | |
"location": { | |
"date": "September 12, 2014", | |
"country": "Germany", | |
"city": "Berlin", | |
"venue": "Radialsystem V", | |
"lat": 52.51039, | |
"long": 13.42864 | |
}, |
Native HTML controls are a challenge to style. You can style any element in the web platform that uses Shadow DOM with a pseudo element ::pseudo-element
or the /deep/
path selector.
video::webkit-media-controls-timeline {
background-color: lime;
}
video /deep/ input[type=range] {
2015-01-29 Unofficial Relay FAQ
Compilation of questions and answers about Relay from React.js Conf.
Disclaimer: I work on Relay at Facebook. Relay is a complex system on which we're iterating aggressively. I'll do my best here to provide accurate, useful answers, but the details are subject to change. I may also be wrong. Feedback and additional questions are welcome.
Relay is a new framework from Facebook that provides data-fetching functionality for React applications. It was announced at React.js Conf (January 2015).
Can micromatch be used as a drop-in replacement for minimatch?
For mainstream features, I tried to keep as much parity as possible between micromatch and minimatch. But there are some differences.
minimatch()
, works like micromatch.isMatch()
micromatch()
, works like multimatch, with support for multiple patterns.[@bs.val] [@bs.scope ("module")] | |
external isHotEnabled : bool = "hot"; | |
[@bs.val] [@bs.scope ("module", "hot")] external hotAccept : unit => unit = "accept"; | |
ReactDOMRe.renderToElementWithId(<App />, "root"); | |
if (isHotEnabled) { | |
hotAccept(); | |
} |
import PropTypes from 'prop-types'; | |
type Omit<T, K> = Pick<T, Exclude<keyof T, K>>; | |
type Defined<T> = T extends undefined ? never : T; | |
/** | |
* Get the type that represents the props with the defaultProps included. | |
* | |
* Alternatively, we could have done something like this: |