In reply to Bastian.

Hey Bastian,

Do you by any chance have an example of something uses higher-order components and something using React hooks?

I come from a Vue background, so I can't immediately or easily see what is based on React and what is WordPress' creation. An example like that would be extremely useful so I can avoid the HOC and use React hooks instead