Ben Alpert
838b963f55
Merge pull request #4916 from spicyj/hwc
...
Add perf-counters npm module to scripts
2015-09-22 15:39:56 -07:00
Ben Alpert
57c516cb0e
Don't use magic browser event dispatching for simulated events
...
When calling ReactTestUtils.Simulate, sometimes you want to test that an exception is thrown by the event handler. This lets you do that without relying on the fact that old jsdom doesn't implement `Event`.
2015-09-22 15:31:08 -07:00
Saif Hakim
0267cfbb8f
Fix ReactDOMSelection to avoid erroring on Firefox's anonymous divs
2015-09-22 15:28:33 -07:00
Paul O’Shannessy
8a837cbd3f
Remove SyntheticEvent.path
2015-09-22 15:12:19 -07:00
Ben Alpert
0f67febad7
Merge pull request #3069 from WickyNilliams/patch-1
...
document checkbox using click handlers for change events
2015-09-22 14:34:40 -07:00
Bradley Spaulding
650fa58ab9
Composite component throws on attaching ref to stateless component #4939
2015-09-22 14:28:38 -07:00
Robin Berjon
fd682b5cac
add RDFa attributes not already covered
2015-09-22 16:58:48 -04:00
Paul O’Shannessy
06568114f3
Merge pull request #4931 from bspaulding/safe-taint-docs
...
Extracted "safe taint" in docs/homepage to align with best practice
2015-09-22 10:53:50 -07:00
Ben Alpert
c561324e7e
Merge pull request #4903 from spicyj/event-unmounted
...
Just ignore events on unmounted components
2015-09-22 09:54:04 -07:00
Bradley Spaulding
52d8d3b2ff
Extracted "safe taint" in docs/homepage to align with best practice #4212
2015-09-21 22:24:51 -07:00
Paul O’Shannessy
56ccd82374
Merge pull request #4921 from benjaffe/master
...
[docs] Clarify when autobinding does(n't) happens
2015-09-20 16:42:48 -07:00
Ben Jaffe
0203071251
Update 03-interactivity-and-dynamic-uis.md
...
This clarifies when autobinding does and does not happen. I spun my wheels on this for a while.
https://medium.com/@goatslacker/react-0-13-x-and-autobinding-b4906189425d
2015-09-20 09:38:50 -07:00
Glen Mailer
241533782c
Expose component instance in shallow rendering
...
Fixes #4056
2015-09-20 15:16:51 +01:00
Ben Alpert
b3bccf2273
Add node bindings
2015-09-19 11:30:28 -07:00
Ben Alpert
e922f869e6
Make hardware-counter.cpp compile
...
`g++ -std=c++11 -lpthread src/hardware-counter.cpp
src/thread-local.cpp src/test.cpp` works and runs where `src/test.cpp` is:
```
int main() {
bool enable = true;
std::string events = "";
bool recordSubprocesses = false;
HPHP::HardwareCounter::Init(enable, events, recordSubprocesses);
HPHP::HardwareCounter::s_counter.getCheck();
int64_t start = HPHP::HardwareCounter::GetInstructionCount();
volatile int x;
for (int i = 0; i < 1000000; i++) {
x += i;
}
int64_t end = HPHP::HardwareCounter::GetInstructionCount();
printf("%d\n", end - start);
}
```
2015-09-19 11:00:27 -07:00
Ben Alpert
42e523ea4d
Update license to match React repo license
2015-09-19 11:00:27 -07:00
Ben Alpert
cfbf115b26
Add hardware-counter.cpp and deps from HHVM
2015-09-18 22:10:10 -07:00
Paul O’Shannessy
ff542de59d
Build ReactDOM browser builds into react-dom/dist
2015-09-18 14:02:31 -07:00
Ben Alpert
88cdc27618
Merge pull request #4904 from spicyj/npm-2
...
Don't install npm 3 on Travis
2015-09-17 21:23:41 -07:00
Ben Alpert
45f85a6cc5
Just ignore events on unmounted components
...
Fixes #4865 and also seems to fixes #3790 .
2015-09-17 17:42:01 -07:00
Ben Alpert
41e4bfb41a
Don't install npm 3 on Travis
2015-09-17 17:37:00 -07:00
Paul O’Shannessy
aac4219e80
Merge pull request #4899 from iamchenxin/master
...
Update zh-CN docs.
2015-09-17 12:22:04 -07:00
iamchenxin
2a5e6b3c91
Update zh-CN translation.
...
To keep up with en docs.
2015-09-18 02:31:11 +08:00
Paul O’Shannessy
e147c4942b
[docs] Remove unused file
2015-09-16 14:09:52 -07:00
Paul O’Shannessy
d42254c40f
Merge pull request #4891 from igncp/documentation-fix
...
Fix documentation errata
2015-09-16 13:48:09 -07:00
Ignacio Carbajo
e11631eea7
Fix documentation errata
2015-09-16 22:25:46 +02:00
Paul O’Shannessy
f9bbc06960
Merge pull request #4858 from zpao/eslint-1.4
...
Upgrade eslint to 1.4.1
2015-09-16 12:35:12 -07:00
Paul O’Shannessy
20f0b0f464
Upgrade eslint to 1.4.1
2015-09-16 12:16:46 -07:00
Paul O’Shannessy
0fb49fc4dc
Merge pull request #4859 from zpao/stateless-arrow-functions
...
Support native arrow functions as stateless components
2015-09-16 12:02:38 -07:00
Paul O’Shannessy
e5c3fb14fa
Support arrow functions as stateless components
2015-09-16 11:39:41 -07:00
Ben Alpert
2db38bf935
Merge pull request #4887 from spicyj/form-proptypes-dev
...
Check input and textarea propTypes only in DEV
2015-09-16 11:31:08 -07:00
Ben Alpert
b7bf1ccafe
Don't build up mount-ready queue for server side rendering
...
This is a little faster when rendering iframe/img/form/video/audio on the server.
2015-09-15 21:47:30 -07:00
Ben Alpert
65370ff752
Check input and textarea propTypes only in DEV
2015-09-15 21:46:37 -07:00
Paul O’Shannessy
a48ffb04dc
Merge pull request #4884 from moretti/patch-1
...
[docs] Fix syntax errors in Animation
2015-09-15 11:30:20 -07:00
Paolo Moretti
fb45ef3679
Fix syntax errors
2015-09-15 18:12:42 +01:00
Paul O’Shannessy
609f14eed4
Merge pull request #4874 from brigand/patch-6
...
Clarifies "Fetching from the server"
2015-09-14 20:42:54 -07:00
Frankie Bagnardi
584a7c5f1c
Clarifies "Fetching from the server"
2015-09-14 20:21:52 -07:00
Paul O’Shannessy
0bb906ed8c
Merge pull request #4829 from zpao/docs-jekyll-feed
...
[docs] Use a generator to assign complete author data before generating site
2015-09-14 20:18:27 -07:00
Paul O’Shannessy
b0bf35a361
[docs] Use a generator to assign complete author data before generating site
...
This makes sure that `post.author` will be the actual data we want and we don't have to assign it every time, potentially messing it up.
2015-09-14 19:55:01 -07:00
Paul O’Shannessy
e97da42b67
Merge pull request #4868 from AnSavvides/docs-readability
...
Make docs more consistent
2015-09-14 13:10:57 -07:00
Paul O’Shannessy
b53dfa6d27
Merge pull request #4869 from arush/patch-1
...
DOCS - typo in ref callback example
2015-09-14 11:42:08 -07:00
arush
29551f84b8
DOCS - typo in ref callback example
...
deleted extra ending curly brace in arrow function
2015-09-14 11:40:44 -07:00
Christoph Pojer
95eee11b66
Merge pull request #4866 from andrewsokolov/bug/--no-explicit-require-didnt-works
...
[react-codemod] --no* options automatically set to false
2015-09-14 11:05:19 -07:00
Andreas Savvides
e04602f8ee
Use same type of markdown as everywhere else for Glossary
2015-09-14 18:55:34 +01:00
Andreas Savvides
3c5a91c3c3
Make it easier to create an issue
2015-09-14 18:45:29 +01:00
Andreas Savvides
c207ab2901
Make "Component Specs and Lifecycle" more readable
2015-09-14 18:43:16 +01:00
Andreas Savvides
f98112f24d
Make "Component API" more readable
2015-09-14 18:23:00 +01:00
Steven Luscher
15b57b1658
Merge pull request #4845 from steveluscher/community-roundup-27-relay-edition
...
Community Roundup #27 – Relay Edition
2015-09-14 08:14:43 -07:00
andrewsokolov
0610fd93b4
--no* options automatically set to false
2015-09-14 17:30:25 +03:00
Steven Luscher
f30b0d1f1c
Community Roundup #27 – Relay Edition
2015-09-13 21:26:34 -07:00