You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new JSX API may have been a bad call. Using this to ponder the issue and review the (awkward) alternatives.
// breaks editor autocomplete hintsthis(Something,{key},…args)// bad for GCthis.run(Something,{key},…args)// better: can be reused and pooledrun([this,key],Something,…args)// best for all performance// also causes `this` collision bug(run(this,key),Something(…args))Something(this,key)(…args)// breaks autocomplete and loses names for debuggingSomething([id,key],…args)Something=component(function(id,someArg){})// VS Code can be tricked like this though, lolexportletSomething=function(){};Something=component(Something);// none of the above but requires boilerplate at start and end of SomethingSomething([id,key],…args)Something=asyncfunction(parent,someArg,otherArg){constid=awaitstart(Something,parent);if(unchanged(id,arguments))returnlastValue(id);…returnend(id,result)}
The text was updated successfully, but these errors were encountered:
The new JSX API may have been a bad call. Using this to ponder the issue and review the (awkward) alternatives.
The text was updated successfully, but these errors were encountered: