directive on root element of component is not invoked when component has binded directive
Version
3.0.0
Reproduction link
https://codesandbox.io/s/vue-directive-bug-5u526?file=/src/App.js
Steps to reproduce
follow the link
What is expected?
log 3 2 1
What is actually happening?
log 3 1
@07akioni can you provide the actual template used to generate that render function instead of providing a render function?