DEV Community

Discussion on: What's hard about React Hooks for you?

Collapse
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
juliusdelta profile image
JD Gonzales

I believe there's been some research on this and I believe it depends on what you mean by "faster".

Function "components" result in smaller bundle sizes compared to class components since babel does less work on those from what I've seen, which results in (theoretically) faster download times when serving bundled js to a client.

I'm not sure about SSR or bench marks between the two in terms of computational time.