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

Feature request: Extend mapper to allow mapping to different names #324

Open
omnichronous opened this issue Apr 4, 2023 · 0 comments
Open

Comments

@omnichronous
Copy link

omnichronous commented Apr 4, 2023

Great feature, but can this be extend to allow us to rename the props names? Like vuex does with mapGetters, etc ?

Originally posted by @MateiNenciu in #264 (comment)

It would be awesome to have this, basically as described in the Vuex docs:

...mapGetters({
  // map `this.doneCount` to `this.$store.getters.doneTodosCount`
  doneCount: 'doneTodosCount'
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant