Skip to content

Conversation

@hasanisaeed
Copy link
Contributor

  • In my Nuxt project, using of method doesn't work. So I had to use computed.
  • Also creating a computed property is the best thing when we need to reference a value from the template because it’s cached.

@hasanisaeed hasanisaeed closed this Oct 2, 2021
@hasanisaeed hasanisaeed reopened this Oct 2, 2021
@hasanisaeed hasanisaeed changed the title refactor: replace computed instead of method Replace computed instead of method Oct 2, 2021
@andrelmlins
Copy link
Owner

LGTM

@andrelmlins andrelmlins merged commit eefcbec into andrelmlins:master Oct 2, 2021
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

Successfully merging this pull request may close these issues.

2 participants