Commit Graph

3326 Commits

Author SHA1 Message Date
Jim 2a28189bea Merge pull request #2800 from jsfb/getDOMNode-becomes-findDOMNode
Minor updates to findDOMNode, as per additional post-commit CR feedback.
2015-01-05 13:29:14 -08:00
Jim f507ba3c2b Minor updates to findDOMNode, as per additional post-commit CR feedback. 2015-01-05 13:26:35 -08:00
Paul O’Shannessy a7028c467f Merge pull request #2801 from jsfb/componentDidUpdate-docs
Update docs to indicate that componentDDidUpdate is fired after changes are flushed to the DOM.  Fix
2015-01-05 09:34:38 -08:00
Paul O’Shannessy 26636e501d Merge pull request #2791 from rickbeerendonk/patch-1
Update ref-09-glossary.md
2015-01-05 09:05:46 -08:00
Paul O’Shannessy 7295f36b0f Merge pull request #2788 from mihaip/master
SyntheticEvent.timeStamp is a number, not a Date
2015-01-05 09:05:19 -08:00
Jim 08c5e42649 Update docs to indicate that componentDDidUpdate is fired after changes are flushed to the DOM. Fixes #2796 2015-01-02 14:02:44 -08:00
Rick Beerendonk 717b6d6249 Update ref-09-glossary.md
Minor grammatical fix.
2014-12-30 23:42:38 -05:00
Mihai Parparita c0e33e8e76 SyntheticEvent.timeStamp is a number, not a Date
Also makes the a few other attribute types use lowercase (primitive) naming, to be consistent.
2014-12-30 12:06:49 -08:00
Paul O’Shannessy ebf4cb4fab Merge pull request #2785 from c-das/patch-1
Update 02-displaying-data.md
2014-12-30 06:45:18 -08:00
Chitharanjan Das b25e2e70d8 Update 02-displaying-data.md
Just a couple of minor grammatical fixes.
2014-12-30 10:49:44 +00:00
Sebastian Markbåge 82a30268a3 Merge pull request #2767 from sebmarkbage/moderntypevalidation
Add late class validation warnings for statics
2014-12-29 12:45:49 -05:00
Sebastian Markbage 82d15c8fd5 Add late class validation warnings for statics
ES6 classes won't have an early validation step. Therefore I added some
extra validation later on in the process. These would've normally have
been caught by createClass in classic React.
2014-12-29 12:43:40 -05:00
Sebastian Markbåge 9cd290a8c8 Merge pull request #2783 from dylanharrington/master
Fix typo in warning for invalid reused markup
2014-12-29 12:14:22 -05:00
Sebastian Markbåge bd5a91a55c Merge pull request #2768 from sebmarkbage/duplicatetests
Removed some duplicate tests
2014-12-29 09:10:26 -08:00
Dylan Harrington 159ba54b8c Fix typo in warning message for invalid reused markup 2014-12-29 01:55:16 -08:00
Sebastian Markbåge 11f83c1fa0 Merge pull request #2769 from sebmarkbage/breakonwarning
Throw a caught error in the default warning module
2014-12-25 14:47:34 -08:00
Paul O’Shannessy b98facd76e Merge pull request #2773 from vanesyan/patch-1
Update ref-01-top-level-api.md
2014-12-25 10:42:47 -08:00
Roman Vanesyan 172dec8351 Update ref-01-top-level-api.md
React isn't framework, it's library for UI!?
2014-12-24 14:39:37 +05:00
Paul O’Shannessy 6ca8bf82f5 Merge pull request #2772 from zpao/fixjsdoc
Fixup jsdoc for findDOMNode
2014-12-23 15:58:59 -08:00
Paul O’Shannessy 20c43d4ec8 Fixup jsdoc for findDOMNode 2014-12-23 15:56:05 -08:00
Paul O’Shannessy 41b919bb81 Merge pull request #2771 from zpao/temp-fix-empty-component
Temporarily fix EmptyComponents
2014-12-23 15:43:00 -08:00
Paul O’Shannessy b2bf83ec85 Temporarily fix EmptyComponents
This a workaround for the problem described in #2770. It should be
temporary because this is really just working around the real problem.
2014-12-23 15:33:53 -08:00
Sebastian Markbage f1bab136d0 Throw a caught error in the default warning module
This throws an error that is immediately caught. This allows you to use the
debugger's "break on caught exception" feature to break on warnings.

This should help with tracking down these warnings using the stack.

However, it could also add more noise to other debugging pattern.
2014-12-23 14:21:04 -08:00
Sebastian Markbage 8864692237 Removed some duplicate tests
These tests are duplicates of the same test in the same file. Copy/paste
fail.
2014-12-23 13:59:11 -08:00
Paul O’Shannessy 3fec78638d v0.13.0-alpha.1
Bumping version numbers so we can push to npm.
2014-12-23 12:04:23 -08:00
Paul O’Shannessy 343cda72d9 Merge pull request #2760 from alextsg/patch-3
Update 14-communicate-between-components.md for grammatical changes
2014-12-22 13:56:44 -08:00
Paul O’Shannessy fe1edb60eb Merge pull request #2759 from alextsg/patch-2
Update 05-maximum-number-of-jsx-root-nodes.md for capitalization
2014-12-22 13:56:10 -08:00
Jim e0725341cf Merge pull request #2646 from jsfb/getDOMNode-becomes-findDOMNode
Added findDOMNode, as we move toward deprecating getDOMNode
2014-12-22 13:05:49 -08:00
Alexander Tseung 92c37ffb3d Update 14-communicate-between-components.md 2014-12-21 00:14:34 -08:00
Alexander Tseung 3fd6ac56c1 Update 05-maximum-number-of-jsx-root-nodes.md 2014-12-20 23:59:34 -08:00
Paul O’Shannessy f7166d0c97 Merge pull request #2754 from songawee/fix_version_typo
Fix version typo in grunt task
2014-12-20 15:00:37 -08:00
Dennis Johnson 5216460246 Fix version typo in grunt task 2014-12-20 12:29:06 -07:00
Paul O’Shannessy 7ed36c30b1 Merge pull request #2752 from peterblazejewicz/fix/blog-typo
Fix conference year typo in blog post content
2014-12-19 14:30:06 -08:00
Peter Blazejewicz ef4e75b031 Fix conference year typo in blog post content 2014-12-19 23:06:24 +01:00
Paul O’Shannessy b7734a7000 Diversity Scholarship blog post 2014-12-19 13:22:23 -08:00
Sebastian Markbåge 6c6ffdb064 Merge pull request #2748 from sebmarkbage/modern
Separate createElement and JSX tests
2014-12-18 18:16:06 -08:00
Sebastian Markbage cea2c38733 Separate createElement and JSX tests
This essentially copies all classic element creation tests to the modern
JSX tests. The classic tests doesn't use JSX and modern tests do.

The idea is that the JSX tests can start dropping dynamic checks once
we have Flow support for those features. JSX won't be necessary for
dropping dynamic checks. Plain object will also work. Flow will also not
be necessary for JSX. However, the tests should test for the suggested
combination (JSX + Flow).

This also moves some misplaced tests to ReactDOM and Validator.

Note that the modern tests uses ES6 classes. I will add separate tests for
those. However, these are not guaranteed to have .displayName so all our
error messages should check .name if available instead. This should be
better abstracted but I just adhoc fix this for now.
2014-12-18 16:13:29 -08:00
Sebastian Markbåge 60b2241ad4 Merge pull request #2745 from sebmarkbage/types
Add placeholders for static prop type tests
2014-12-18 15:13:36 -08:00
Paul O’Shannessy c63de4b79b Merge pull request #2586 from RileyTomasek/master
Fix typo in comment of jquery-bootstrap example
2014-12-18 14:15:30 -08:00
Jim b46a6ce4bb Added findDOMNode, as we move toward deprecating getDOMNode 2014-12-18 13:55:44 -08:00
Sebastian Markbage e31f23fc2a Add placeholders for static prop type tests
This is where tests of static prop types should go when we have the
infrastructure set up to handle it.
2014-12-18 13:52:56 -08:00
Sebastian Markbåge 435aac26af Merge pull request #2744 from sebmarkbage/types
Renamed classic/propTypes to classic/types
2014-12-18 13:42:45 -08:00
Sebastian Markbage 019028bec4 Renamed classic/propTypes to classic/types
I want to create a parallel folder for static type checking in the
"modern" folder so lets use the generic "types" name.
2014-12-18 13:40:32 -08:00
Paul O’Shannessy d488f534ae 0.12.2 starter kit
(cherry picked from commit 6c5cb72cdc)
2014-12-18 12:47:33 -08:00
Paul O’Shannessy 378112f380 v0.12.2 blog post
(cherry picked from commit 2f6a95d5a2)
2014-12-18 12:47:32 -08:00
Paul O’Shannessy 2eb6cf6dd0 Readme + Changelog for 0.12.2
(cherry picked from commit 7468f092ae)
2014-12-18 12:47:32 -08:00
Paul O’Shannessy 3c2fc6440e update docs for 0.12.2 changes
(cherry picked from commit e6e60c4fa8)
2014-12-18 12:47:32 -08:00
Sebastian Markbåge 702eef0bf0 Merge pull request #2740 from facebook/revert-2613-monitor-cloneWithProps
Revert "Monitoring code use of cloneWithProps"
2014-12-18 12:13:34 -08:00
Sebastian Markbåge 7354a699ff Revert "Monitoring code use of cloneWithProps" 2014-12-18 12:13:09 -08:00
Riley Tomasek 84a93fbacf Improve comment in example code
This should make it more clear that even though `$` is used in 4 methods, only 2 of them are crucial for integrating the modal into the components lifecycle methods and the other 2 are just helpers.
2014-12-18 10:05:25 -05:00