Closed
Description
Version
2.4.2
Reproduction link
https://jsfiddle.net/o7yvL2jd/
Steps to reproduce
I've searching for the right way to implement HoC with vue.js. But couldn't found any suitable example.
The link below is known HoC implementations. But didn't work expected.
https://jsfiddle.net/o7yvL2jd/
How can I implement HoC with vue.js?
I just want to know how to implement HoC in the react.js way.
What is expected?
They are HoCs that simply renders components passed in as parameters.
HoCs containing slots and events will render normally.
What is actually happening?
The element to be rendered is missing, or the rendered order differs from the baseComponent.
Some HoC implementations do not work with event handlers.