.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:
CommitSyncScript
2013-06-28 13:48:08 -07:00
committed by Paul O’Shannessy
parent 6556881417
commit 8bc2abd367
5 changed files with 21 additions and 21 deletions
@@ -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;