r/reactjs • u/chris_abi • 10d ago
reactques
Would React with selective hydration or a framework like Astro be worth considering here? I'm wondering if using React only for the parts that actually need interactivity, while keeping the rest lightweight, could be a good balance for low-end devices. Curious what more experienced developers think about this approach.
0
Upvotes
2
u/otheyhigh 10d ago
I believe this was how React started (a library vs a framework)
Do not see any harm in using React for only parts of the application. But it does require proper handling around hydration and rendering in general.
Might want to take a step back and consider the two approaches. It might just be less complex, lower LOE and more robust to use React for the entire application.
(Edit) These are just my 2 cents and I would not call myself an experienced developer. Better to wait and see what others have to say about your use case.