3 ms·
I had the same question, and without actually cloning the repo I wish I had a better answer. I found, looking through the tags, that src/React.js was added in
by lost_name 11y ago
I had the same question, and without actually cloning the repo I wish I had a better answer.
I found, looking through the tags, that src/React.js was added in 0.14-stable, then I examined the history of React.js to find this commit:
https://github.com/facebook/react/commit/b2ca3349c27b57b1e9462944cbe4aaaf76783d2b https://github.com/facebook/react/commit/b2ca3349c27b57b1e94...
Additionally, I dug this up:
https://github.com/facebook/react/pull/4814#discussion-diff-39007098 https://github.com/facebook/react/pull/4814#discussion-diff-...
https://github.com/facebook/react/pull/4814 https://github.com/facebook/react/pull/4814
"I changed it to __SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED to make our German friends less grossed out. I'm going to do the examples in a separate PR."
- atesti 11y agoWhat was the thing that might have grossed out German friends? I'm German and I can't see any funny word here
- lost_name 11y agoI edited it in; my apologies. SECRET was SEKRET, which apparently means "secretion" in German. Ultimately this doesn't answer the question of why is it named this way.