Hey there Merlin, the only advantage is that it plays well with other HOCs out of the box. The under the hood implementation creates a class and does all the lifecycle methods. You could use a class by itself that’s perfectly fine too!
Hey there Merlin, the only advantage is that it plays well with other HOCs out of the box. The under the hood implementation creates a class and does all the lifecycle methods. You could use a class by itself that’s perfectly fine too!
Software Engineer at Workpop, Inc.