4 ms·
What is the point of making a private reference to (what I assume) is a public ReactDOM reference?
by kr0 10y ago
What is the point of making a private reference to (what I assume) is a public ReactDOM reference?
- ioquatix 10y agoDo not ask these questions you will be fired.
- buremba 10y agoDo not make fun of that statement or you will be fired.
- debacle 10y agoIt's a shunt so that people working with the current version of React don't have to know that ReactDOM exists until the refactor is complete. It's a good, simple refactoring strategy when you're trying to responsibly change an API.