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

router-link doesn't work correctly when rendered within a functional component #2513

deepkolos opened this Issue Dec 2, 2018 · 3 comments


None yet
2 participants

deepkolos commented Dec 2, 2018



Reproduction link

Steps to reproduce


What is expected?

when come back router-link's classList is "f-link default-link" as it's inital state

What is actually happening?

router-link's classList become empty


This comment has been minimized.


posva commented Dec 2, 2018

Could you put that into a code sandbox so I can check please?


This comment has been minimized.


posva commented Dec 8, 2018

class is a bit different from other attrs, set it in staticClass when calling h instead of adding it to attrs.class

staticClass: `f-link ${staticClass}`,

@posva posva closed this Dec 8, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment