You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As this is a simple component which doesn't use state and can be used in several places on the application, the conversion to a functional component could generate performance improvements for the application.
What does the proposed API look like?
The RouterLink component API would not change. The conversion can easily be done by modifying the ./src/components/link.js component to:
Thanks for the proposal but this has been already discussed (there is even a PR opened) and it would break some behaviours of vue router making it a breaking change
What problem does this feature solve?
As this is a simple component which doesn't use state and can be used in several places on the application, the conversion to a functional component could generate performance improvements for the application.
What does the proposed API look like?
The RouterLink component API would not change. The conversion can easily be done by modifying the
./src/components/link.js
component to:The text was updated successfully, but these errors were encountered: