• Lysergid@lemmy.ml
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    9 days ago

    Is it better than React functional components in any way? I don’t see benefit over React functional components or even Lit’s class components

    • xoron@programming.devOP
      link
      fedilink
      arrow-up
      7
      ·
      9 days ago

      no. it isnt better or more stable than React. its all an experimental proof-of-concept.

      its an idea im trying out. i thought maybe others might find it interesting.

      im aiming to see if i can get something that looks and behaves like React, but works natively in a browser without the need to build or transpile. i think in theory it could work.

      • Lysergid@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        1 day ago

        After closer look I can say this is great idea. Initially I thought this messes with Lit’s lifecycle bringing React’s lifecycle drawbacks but seems like it’s not. I think at some point you should get in touch with Lit devs and see if it can become part of Lit lab or even Lit itself

      • MagicShel@programming.dev
        link
        fedilink
        arrow-up
        3
        ·
        9 days ago

        Go for it. React wasn’t anything anyone gave a shit about until it was. It’ll eventually die, too, like every other front end framework. Maybe this’ll be the concept that replaces it. Who knows?