mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
.reactRoot[base10] -> .r[base36]
Just a bit of byte savings for server rendering. Props to @benjamn for the base36 idea (and for making this diff easy). With a little work we could probably get rid of the .r as well.
This commit is contained in:
committed by
Paul O’Shannessy
parent
6556881417
commit
8bc2abd367
@@ -25,9 +25,9 @@ var ReactInstanceHandles;
|
||||
var ResponderEventPlugin;
|
||||
var SyntheticEvent;
|
||||
|
||||
var GRANDPARENT_ID = '.reactRoot[0]';
|
||||
var PARENT_ID = '.reactRoot[0].0';
|
||||
var CHILD_ID = '.reactRoot[0].0.0';
|
||||
var GRANDPARENT_ID = '.r[0]';
|
||||
var PARENT_ID = '.r[0].0';
|
||||
var CHILD_ID = '.r[0].0.0';
|
||||
|
||||
var topLevelTypes;
|
||||
var responderEventTypes;
|
||||
|
||||
Reference in New Issue
Block a user