Giter Site home page Giter Site logo

Polymer or lit-element about auth0-element HOT 3 OPEN

johnlim avatar johnlim commented on August 24, 2024
Polymer or lit-element

from auth0-element.

Comments (3)

johnlim avatar johnlim commented on August 24, 2024

@tpluscode Just wanted to drop a quick note so as not to hold you up. I've only done some initial testing on the Polymer 3 version which seems to suggest the ported version works as expected. The challenge for the Polymer 3 version was to bundle it correctly but I've managed to do that using Webpack a while back. Unfortunately, I never had the chance to use it in production unlike the Polymer 1 & 2 versions so your milage might vary.
With regards to lit-element and the direction its taken in general (i.e shift away from html imports to es6 imports & focus on UI based components), pure js elements (like auth0-element) arn't really suited for that paradigm. A good use case though might be to port something like the auth0-lock widget using lit-element. Glad to hear your thoughts, if any.

from auth0-element.

tpluscode avatar tpluscode commented on August 24, 2024

Thank's John. I'm processing what you said, and you're probably right.

I was not aware of the lock (pretty new to auth0 myself) and it's super simple. If anything, I would probably just wrap it in a vanilla web component to get the declarative API.

But it is like you said. With more emphasis on JS, it doesn't make sense anymore to rework everything into an element. For Auth0 it possibly isn't...

from auth0-element.

johnlim avatar johnlim commented on August 24, 2024

On a separate note, happy to help if you’ve got any Auth0 questions.

from auth0-element.

Related Issues (2)

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.