What is everyone's cross platform frontend framework of choice

flashgnash@lemm.ee to Asklemmy@lemmy.ml – 43 points –

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?

15

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.

I like you. Too many websites are about five times too bloated for what they actually deliver.

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

goober or in Kotlin, Jetpack Compose, which, fun fact, goober was inspired by

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.

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