Closed matthewwithanm closed 6 years ago
Thanks for spotting this! It totally makes sense to use a bound method on the class to avoid allocating a closure every time render is called.
Plus there's a bit of a footgun that wound up killing Nuclide's perf bad once when we had a kind of expensive ref callback. 😣
String refs are legacy API and likely to be removed.