Just dumping these items here since I want to close the 16 umbrella.
ssr error entries in the attribute table. They might mean bugs.<Text>) (Dan: I moved this back to blockers because shipping without invariants and adding them later will be painful)After years of having a message in documentation to use refs['abc'] instead of refs.abc to enable advanced optimization in Closure Compiler, React will finally support advanced optimization. Great news!
That will continue to be the case in your own code; the reference here is surely to build react itself with closure compiler's danger mode.
@ljharb Yes, that's already clear. The real problem is that it's often the case my code doesn't constitute the majority of the bundle.
Isn't the message in the documentation these days to _not_ use the string refs and instead use a callback to save it to your own variable? 馃
String refs are legacy, yes. They aren't the recommendation.
We advise against it because string refs have some issues, are considered legacy, and are likely to be removed in one of the future releases. If you鈥檙e currently using this.refs.textInput to access refs, we recommend the callback pattern instead.
source: https://reactjs.org/docs/refs-and-the-dom.html#legacy-api-string-refs
Stale.
Most helpful comment
Isn't the message in the documentation these days to _not_ use the string
refsand instead use a callback to save it to your own variable? 馃