GithubHelp home page GithubHelp logo

Comments (4)

stevehobbsdev avatar stevehobbsdev commented on July 20, 2024 1

Sure, this should be no problem. All the components you create in your app are just Vue instances with a name; think of auth wrapper in this sample as just another component that does not have a render template.

Here's a quick thread I found on performance, which might alleviate concerns.

from auth0-vue-samples.

stevehobbsdev avatar stevehobbsdev commented on July 20, 2024

Thanks for raising. We mainly do that for the reactivity you get out of the box for properties like isLoading, isAuthenticated, user, etc. When the auth state changes it enables us to propagate those changes easily.

from auth0-vue-samples.

godd9170 avatar godd9170 commented on July 20, 2024

Thanks for the quick reply @stevehobbsdev. That definitely makes sense. I'm curious though, as I'm still pretty new to Vue, if it's kosher to construct a new instance in a plugin. Is this something you'd recommend in a non-example, production setting?

from auth0-vue-samples.

stale avatar stale commented on July 20, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you have not received a response for our team (apologies for the delay) and this is still a blocker, please reply with additional information or just a ping. Thank you for your contribution! 🙇‍♂️

from auth0-vue-samples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.