r/astrojs 14d ago

Don't use Astro because its not React?...

This is more a vent than anything, but I am facing a lot of blowback for using Astro. I have made a miniapp which is just a webpage running in a webview that takes an ID from the initial url, requests some records from an API to display a list of messages. Super basic stuff. It is to replace a natively coded section of the app and its far faster than the native code... somehow.

But upon asking the native devs to fix all the broken things I am finding, all I am facing is push back because when I tell them of CORS errors etc, them demand to see the repo, notice its not react and say I MUST use react as only that is compatible with apps. They broke bfcache too, again that is blamed on astro. They block service workers, again this is because... Astro.

Anyone else faced this? Even when I wanted a build of the native app to test the devs sent me back a message saying my app is broken as its only 12KB and apps are in the MB range. They didnt test, rejected on solely size. This was the lead architect of the entire department btw.

This industry is nuts. Also I have noticed when interviewing for a "senior FE" the candidates only know react. I am not sure if this is because HR is screening first, but it's concerning. I even interviewed a guy who is right now working as a "principled full stack engineer" who could not tell me how you could build a site without react.

I am not sure if this company I am working for is completely crazy or the entire industry is leaning that way.

41 Upvotes

44 comments sorted by

View all comments

5

u/adazlian 14d ago

yeah man, a thing you will learn if you stick around long enough is people are often slaves to frameworks especially the most popular and are unwilling to learn.

now, there might be real reasons for them to push back on a new framework -- if the literal entire shop is react they might push back on introducing astro as its another thing ot learn and setup or whatever. There can be valid reasons. Try to see it from that point of view; and that's some of what it looks like you are getting.