Paul O’Shannessy
9ef2b4e5d9
Merge pull request #2252 from syranide/htmlmanifest
...
Add manifest to HTMLDOMPropertyConfig
2014-10-07 15:29:57 -07:00
Paul O’Shannessy
33d2b5e8ff
Merge pull request #2238 from syranide/noclassid
...
Remove superfluous classID from DOMAttributeNames
2014-10-07 15:26:19 -07:00
Paul O’Shannessy
8883d0f818
Merge pull request #2276 from spicyj/asap
...
Rename ReactUpdates.setImmediate to 'asap'
2014-10-07 14:27:00 -07:00
Sebastian Markbåge
f48954d8a3
Merge pull request #2300 from sebmarkbage/descriptorstoelements
...
Renamed Descriptor -> Element
2014-10-07 13:44:44 -07:00
Sebastian Markbage
8f1657bba6
Renamed Descriptor -> Element
...
We've decided on a new naming convention for ReactDescriptor. It's now
called ReactElement, which is a subset of the ReactNode union type.
2014-10-07 13:41:51 -07:00
Sebastian Markbage
7f9b1d18d1
Start warning when React.DOM.x is passed into JSX
...
React.DOM is becoming helper factories to generate ReactElements. They're not
classes. It will be ok to call them directly as functions, but not to use them
where a class is expected.
2014-10-07 10:49:18 -07:00
Sebastian Markbage
15a0c8920e
Don't use React.DOM
...
I grepped for uses of React.DOM. This is going to be a set of helper functions
to generate ReactElements without JSX.
They're not classes so they cannot be used where a React class is expected.
Since we always use JSX, we should have no internal use for these helpers.
We can use strings instead.
2014-10-07 10:49:18 -07:00
Sebastian Markbage
b2dbccf9a2
Rename lower case variables in JSX to upper case
...
We're trying to move to a convention where lower-case variables on JSX are always HTML/SVG tags rather than variables in scope. See:
http://fb.me/react-jsx-lower-case
Therefore, this diff renames existing uses to upper case variables.
This throws an error on all these files, so I manually go rename all the variables. I then run lint to ensure that the rename doesn't leave any undeclared variables.
2014-10-07 10:48:57 -07:00
Sebastian Markbage
c4658c1728
Update React JSX Transforms
...
* Extract JSXDOM into separate transform
* Rename lower case variables in JSX to upper case
* Drop React.DOM docblock, use string tags instead
2014-10-07 10:48:57 -07:00
Sebastian Markbåge
1a1104f56f
Merge pull request #2287 from sebmarkbage/stringelements2
...
Use strings as the type for DOM elements
2014-10-03 10:49:31 -07:00
Sebastian Markbage
3aaccd2dc9
Use strings as the type for DOM elements
...
This makes ReactDOM a simple helper for creating ReactElements with the string tag as the type. The actual class is internal and created by instantiateReactComponent. Configurable using injection.
There's not a separate class for each tag. There's just a generic ReactDOMComponent which could take any tag name.
Invididual tags can be wrapped. When wrapping happens you can return the same tag again. If the wrapper returns the same string, then we fall back to the generic component. This avoids recursion in a single level wrapper.
2014-10-02 23:05:11 -07:00
Ben Alpert
a8fff93971
Rename ReactUpdates.setImmediate to 'asap'
...
Per https://github.com/facebook/react/pull/1554#issuecomment-57243842 .
Test Plan: jest
2014-09-29 17:37:13 -07:00
Paul O’Shannessy
35764c5ffb
[docs] Use subitem in new nav generation
...
(cherry picked from commit 995d0e588b )
2014-09-29 13:48:25 -07:00
Paul O’Shannessy
57de1b07d0
Merge pull request #2254 from jgable/spellingFix
...
Spelling fix for "Testing Flux Applications"
2014-09-26 23:11:42 -07:00
Paul O’Shannessy
3888b97433
Merge pull request #2219 from pablolmiranda/master
...
Creates a getMeasurementsSummaryMap in ReactDefaultPerf
2014-09-26 17:56:07 -07:00
Paul O’Shannessy
a37dcbb8e0
Merge pull request #2208 from wincent/typo-fix-03
...
Fix a comment typo
2014-09-26 17:55:10 -07:00
Paul O’Shannessy
0383534094
Merge pull request #2202 from syranide/noscroll
...
Remove non-attribute scrollLeft and scrollTop from HTMLDOMPropertyConfig
2014-09-26 17:54:49 -07:00
Paul O’Shannessy
778ca2f862
Merge pull request #1598 from syranide/nogettext
...
Un-mixin ReactBrowserComponentMixin from ReactTextComponent
2014-09-26 17:54:32 -07:00
Paul O’Shannessy
c14b3a1b13
Merge pull request #1520 from syranide/ediblechildren
...
Warn against contentEditable with children props
2014-09-26 17:54:24 -07:00
Jacob Gable
0b3c0ebced
Spelling fix
...
- Puting -> Putting
2014-09-26 12:42:58 -05:00
Andreas Svensson
3de80ec4ba
Add manifest to HTMLDOMPropertyConfig
2014-09-26 16:45:33 +02:00
fisherwebdev
65c1834059
Merge branch 'zpao-rm-flux-docs'
2014-09-26 07:05:02 -07:00
fisherwebdev
f45d753486
Merge pull request #2236 from zpao/rm-flux-docs
2014-09-26 07:03:37 -07:00
Paul O’Shannessy
6c19040d24
Point to Flux site for Flux docs
...
This doesn't actually remove the pages, just the main content. Sidebar
items now link offsite. The pages doesn't automatically redirect, but we
could do that if we really wanted.
Fixes #2229
2014-09-25 12:34:22 -07:00
Bill Fisher
ef327fcb23
Merge pull request #2240 from christianalfoni/patch-1
...
Update flux-todo-list.md
2014-09-25 08:33:02 -07:00
Bill Fisher
2f30b2648c
Merge pull request #2237 from markhovskiy/patch-1
...
fix typos in "Testing Flux Applications"
2014-09-25 08:29:13 -07:00
Christian Alfoni
1b6a3d5215
Update flux-todo-list.md
...
You have to instantiate a Dispatcher to use it, not just grab the prototype or it will fail when trying to grab instance properties like: this.$Dispatcher._callbacks.
2014-09-25 11:54:52 +02:00
Andreas Svensson
cac45631c3
Remove superfluous classID from DOMAttributeNames
2014-09-25 10:46:29 +02:00
Oleksii Markhovskyi
5493b63b44
fix typos
2014-09-25 09:54:35 +02:00
Paul O’Shannessy
4f27dc30ad
Merge pull request #2228 from XuefengWu/patch-1
...
add tip for the important jsx convention
2014-09-24 15:35:36 -07:00
Bill Fisher
6f54ed71da
Merge pull request #2234 from fisherwebdev/master
...
[blog] testing flux applications
2014-09-24 13:08:45 -07:00
fisherwebdev
9952a54026
[blog] testing flux applications
2014-09-24 12:35:39 -07:00
Pablo Lacerda de Miranda
792b84c94b
fixes ReactDefaultPerf.getMeasurementsSummaryMap format style
2014-09-23 18:50:18 -07:00
XuefengWu
b9f32a8295
Update getting-started.md
...
fix grammar
2014-09-24 08:26:10 +08:00
Paul O’Shannessy
67eeed601b
Merge pull request #2212 from Oleg24/patch-1
...
Improved readability by removing semicolon
2014-09-23 17:06:53 -07:00
Oleg
86287bffd4
Add space after ellipses
2014-09-23 17:01:23 -07:00
Paul O’Shannessy
7339f8b7b8
Merge pull request #2149 from imcotton/jsx-reduce-warning
...
Reduce unnecessary warning while including JSX transformer in browser
2014-09-23 13:34:10 -07:00
XuefengWu
f04d648888
Update getting-started.md
...
merge the warn and explain for the @jsx
2014-09-23 15:22:11 +08:00
Isaac Salier-Hellendag
e7299f6039
Prefer window.getSelection for IE
...
IE9+ supports `window.getSelection()` but `SelectEventPlugin` gives precedence to `document.selection` instead. `document.selection` is still available in later versions of IE, but the modern Selection object is preferable. Swap the two.
2014-09-22 16:56:22 -07:00
Paul O’Shannessy
176d47319a
Merge pull request #2225 from jesseskinner/patch-1
...
Fix inconsistency in mockComponent argument name
2014-09-22 14:42:38 -07:00
Paul O’Shannessy
9919734df3
Merge pull request #2180 from zpao/fix-2179
...
Reword Component API intro
2014-09-22 14:41:18 -07:00
Paul O’Shannessy
eafe786aef
Reword Component API intro
...
Fixes #2179
2014-09-22 14:40:22 -07:00
Paul O’Shannessy
bf0fe94561
Merge pull request #2209 from glenjamin/patch-2
...
[docs] Clarify wording on sub-tree reconciliation
2014-09-22 14:32:18 -07:00
Paul O’Shannessy
8cd460ce24
Move examples from the website to the wiki.
2014-09-22 14:29:39 -07:00
Andreas Svensson
14ba6ee788
Un-mixin ReactBrowserComponentMixin from ReactTextComponent
2014-09-22 23:28:26 +02:00
Paul O’Shannessy
7cf350a5a1
Merge pull request #2223 from cody/stripTypes
...
Add stripTypes option to npm docs
2014-09-22 13:38:37 -07:00
Paul O’Shannessy
97a41db82c
Merge pull request #2218 from fisherwebdev/master
...
Acknowledge ProjectMoon for allowing us to use the flux name on npm
2014-09-22 13:09:06 -07:00
XuefengWu
0ae09f4c70
add tip for the important jsx convention
...
I missed the convention and wast hours to figure out what's wrong.
Add this tip in the document for who would miss the importance comment.
2014-09-22 20:10:34 +08:00
fisherwebdev
0e4e7ea7e1
Acknowledge ProjectMoon for allowing us to use the flux name on npm
2014-09-21 21:10:39 -07:00
Jesse Skinner
3109082144
Fix inconsistency in mockComponent argument name
...
The second argument of mockComponent was listed as tagName, but referred to in the description as mockTagName. I changed the first one to mockTagName to be consistent.
2014-09-21 23:00:25 -04:00