1: Can a react person explain something to me? People say that higher order components are faster than render props because they avoid
-
Show this thread
-
2: allocating a closure. But the higher order component pattern does at least one (and usually more) allocations when it copies the props
2 replies 1 retweet 5 likesShow this thread -
3/3: am I miscounting the costs or what?
5 replies 1 retweet 2 likesShow this thread -
-
render props > HOCs because of maintainability/readability/testability. I can be wrong, but IMO performance isn't the issue here.
1 reply 1 retweet 2 likes
Replying to @matheusml @mjackson
I don't believe you're wrong.
6:13 AM - 26 Sep 2017
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.