dillon1000/react

Commit

Rework ReactRootIndex generation

This had a higher probability of collision than originally thought (bad math). This makes the strategy injectable and provies a
no-collision version on the client and an unlikely-to-collide version on the server.
Browse files
Changed paths5 files
First-parent comparison
M src/core/ReactDefaultInjection.js ModifiedM src/core/ReactInstanceHandles.js ModifiedA src/core/ReactRootIndex.js AddedA src/environment/ClientReactRootIndex.js AddedA src/environment/ServerReactRootIndex.js Added
Patch

Files changed

Rendering syntax-highlighted changes…