Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

h function and template rendering do not behave consistently #4367

Closed
pomeloneo opened this issue Aug 17, 2021 · 0 comments
Closed

h function and template rendering do not behave consistently #4367

pomeloneo opened this issue Aug 17, 2021 · 0 comments

Comments

@pomeloneo
Copy link

pomeloneo commented Aug 17, 2021

Version

3.2.3

Reproduction link

https://codesandbox.io/s/kind-cdn-95brw

https://sfc.vuejs.org/#eyJBcHAudnVlIjoiMTx0ZW1wbGF0ZT5cbiAgPGRlbW8xPlxuICAgIDx0ZW1wbGF0ZSAjZGVmYXVsdD1cImEsIGIsIGNcIj4ge3sgYSB9fXt7IGIgfX17eyBjIH19IDwvdGVtcGxhdGU+XG4gIDwvZGVtbzE+XG48L3RlbXBsYXRlPlxuXG48c2NyaXB0PlxuaW1wb3J0IGRlbW8xIGZyb20gXCIuL2RlbW8xLmpzXCI7XG5leHBvcnQgZGVmYXVsdCB7XG4gIG5hbWU6IFwiQXBwXCIsXG4gIGNvbXBvbmVudHM6IHtcbiAgICBkZW1vMTogZGVtbzEsXG4gIH0sXG59O1xuPC9zY3JpcHQ+XG5cbjxzdHlsZT5cbiNhcHAge1xuICBmb250LWZhbWlseTogQXZlbmlyLCBIZWx2ZXRpY2EsIEFyaWFsLCBzYW5zLXNlcmlmO1xuICAtd2Via2l0LWZvbnQtc21vb3RoaW5nOiBhbnRpYWxpYXNlZDtcbiAgLW1vei1vc3gtZm9udC1zbW9vdGhpbmc6IGdyYXlzY2FsZTtcbiAgdGV4dC1hbGlnbjogY2VudGVyO1xuICBjb2xvcjogIzJjM2U1MDtcbiAgbWFyZ2luLXRvcDogNjBweDtcbn1cbjwvc3R5bGU+XG4iLCJkZW1vMS5qcyI6ImltcG9ydCB7IGggfSBmcm9tIFwidnVlXCI7XG5cbmV4cG9ydCBkZWZhdWx0IHtcbiAgbmFtZTogXCJkZW1vMVwiLFxuICBwcm9wczoge1xuICAgIG1zZzogU3RyaW5nXG4gIH0sXG4gIHJlbmRlcjogZnVuY3Rpb24gKCkge1xuICAgIHJldHVybiBoKFwiaDFcIiwgbnVsbCwgdGhpcy4kc2xvdHMuZGVmYXVsdChcImFcIiwgXCJiXCIsIFwiY1wiKSk7XG4gIH1cbn07XG4ifQ==

Steps to reproduce

open link

What is expected?

should get same render result

What is actually happening?

not same result


In the source code, I found that for h function or jsx scenarios, the parameters are not passed through, only one parameter is passed

The template scenarios seem to have all parameters passed through

I don't know if this is done on purpose or I misunderstood

@github-actions github-actions bot locked and limited conversation to collaborators Oct 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@pomeloneo and others