Comment Comment by mosdl Functions are nice for simple components, but any non-simple component becomes unreadable with hooks, classes are easier to read/reuse and debug. parent mosdl 4 years ago