react/packages/react-server-dom-fb
Sebastian Markbåge 1ae0a845bd
Use underscore instead of « » for useId algorithm (#33422)
Alternative to #33421. The difference is that this also adds an
underscore between the "R" and the ID.

The reason we wanted to use special characters is because we use the
full spectrum of A-Z 0-9 in our ID generation so we can basically
collide with any common word (or anyone using a similar algorithm,
base64 or even base16). It's a little less likely that someone would put
`_R_` specifically unless you generate like two IDs separated by
underscore.


![9w2ogt](https://github.com/user-attachments/assets/21b2d2ac-1a3a-4657-ba0b-1616e49dfdee)
2025-06-03 11:30:17 -04:00
..
src Use underscore instead of « » for useId algorithm (#33422) 2025-06-03 11:30:17 -04:00
package.json Bump next prerelease version numbers (#32782) 2025-03-28 16:20:04 -04:00