Skip to content

Instantly share code, notes, and snippets.

@zpao
zpao / .babelrc
Created September 11, 2017 16:42
{
"presets": ["./.babelrc.js"],
}
@zpao
zpao / .babelrc
Created September 11, 2017 16:31
{
"plugins": [
["babel-preset-fbjs/plugins/rewrite-modules", {
map: {
'./original': './rewritten'
},
prefix: '',
}]
],
}
@zpao
zpao / .babelrc
Created September 11, 2017 16:29
{
"plugins": [
["babel-preset-fbjs/plugins/rewrite-modules", {
map: {
'./original/foo': './rewritten/foo'
},
prefix: '',
}]
],
}
var CustomEvents = (function() {
var _map = {};
return {
subscribe: function(name, cb) {
_map[name] || (_map[name] = []);
_map[name].push(cb);
},
notify: function(name, data) {
diff --git a/package.json b/package.json
index 7747f0d5..1b490635 100644
--- a/package.json
+++ b/package.json
@@ -31,25 +31,25 @@
"babel-traverse": "6.25.0",
"babel-types": "6.25.0",
"babylon": "6.17.3",
"chalk": "^1.1.3",
"del": "2.2.2",
diff --git a/package.json b/package.json
index 7747f0d5..847fbf47 100644
--- a/package.json
+++ b/package.json
@@ -31,25 +31,25 @@
"babel-traverse": "6.25.0",
"babel-types": "6.25.0",
"babylon": "6.17.3",
"chalk": "^1.1.3",
"del": "2.2.2",
--- build_old/react.js 2014-10-14 21:38:43.000000000 -0700
+++ build/react.js 2014-10-14 21:49:41.000000000 -0700
@@ -1,12 +1,198 @@
/**
* React v0.12.0-alpha
*/
-!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.React=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
+!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e

React-Core Meeting Notes 2015-03-20

Note: This is the first time we're sharing meeting notes publicly. The primary reason we haven't shared these is because we often mix public discussions with matters that are Facebook specific and should not be public. We're really trying to be more open about our development process and what's happening inside the project so moving forward, we'll be sharing meeting notes. While most of us do work at Facebook, we're committed to this being an open project - for now we'll filter out the private notes from the public notes. Hopefully we can make it possible for these meetings to be open to any who wish to attend.

Attendees:

  • @zpao
  • @sebmarkbage
  • @spicyj
  • @jeffmo
/**
* Finds rules that are supported by ESLint but not defined in our config.
*/
var ourRules = new Set(Object.keys(require('./.eslintrc.js').rules))
var supportedRules = new Set(Object.keys(require('./node_modules/eslint/lib/load-rules')()));
var missing = new Set();
var extra = new Set();
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf8">
<title>Testing</title>
</head>
<body>
<div id="container">
React will render here
</div>