I have been experimenting with react native as I heard it’s one of the good ones, and so far it is not a particularly enjoyable experience. Lots of irritating things like no global styling, lots of ugly, hard to read properties on tags, etc

In a perfect world where you get to choose, which frontend frameworks would you use and why?

  • AlphaOmega@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    1 year ago

    I’ve been building sites for decades and have never used a frontend framework, just html, css, JavaScript and sometimes jQuery.

    But I’m currently working on learning React because apparently it’s so popular, most full stack jobs are now requiring it.

    In a perfect world I would only build the front end with Html and CSS. I like the simplicity and also the security it provides.

    • flashgnash@lemm.eeOP
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Yeah that’s what I usually do, tbh frontend frameworks seem kinda pointless to me. You’d think they’d be an improvement on regular js but no

      The issue is making it a mobile app, as that’s the primary platform for this project (though might be better to just make it a PWA instead of using react native

  • cybirdman@lemmy.ca
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    I really recommend nativewind to solve pretty much every gripe I have with styling react native, if you still want to give it a chance. Expo for instant cross platform updates by just publishing updated JavaScript (no more publishing updatdes in app store and play store!) Also, yup and Formik for form validation and react query for API calls. With these minimal libraries react native becomes a beast.

    • flashgnash@lemm.eeOP
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      I’m currently using expo it just doesn’t feel like a very well featured language and doesn’t seem maintainable

  • lorty@lemmygrad.ml
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    If you didn’t like react native (it has its quirks), you could try flutter, it’s a lot more sane although I personally find the source code to be a lot harder to read after it’s a bit bigger.