SIGN IN SIGN UP
facebook / react UNCLAIMED

The library for web and native user interfaces.

0 0 0 JavaScript

Escape View Transition Name Strings as base64 (#35060)

This is an alternative to #35059.

If the name needs escaping, then instead of escaping it, we just use a
base64 name. This wouldn't allow you to match on an escaped name in your
own CSS like you should be able to if browsers worked properly. But at
least it would provide matching name in current browsers which is
probably sufficient if you're using auto-generated names.

This also covers some cases where `CSS.escape()` isn't sufficient anyway
like when the name ends in a dot.

DiffTrain build for [1a31a814f16838e2c9edfce0d244264c43184f86](https://github.com/facebook/react/commit/1a31a814f16838e2c9edfce0d244264c43184f86)
S
sebmarkbage committed
bf8408b06caeb967c64fd67a1d86ddd9cbebc2fa
Parent: 9a8f0dc