How is India travel experience in 2021/2022 ? Is it improved compared to some posts I’ve seen 5 or 6 years ago ?

I’ve been planning to do a solo travel to India for so long and it’s one of the countries that I’ve been intrigued about the culture, color and the chaos.

But unfortunately I’ve seen lot of posts about how dirty and non existent the infrastructure is that hinders the travel experience. But most of these posts are old and currently I’ve been hearing that India’s economy is on the rise and infrastructure is being upgraded and awareness is rising among people regarding hygine.

So my question is for the people who travelled to India in the recent years
, How was your experience? Is it improved compared to 5 or 6 years ago.

What precautions should I need to take to avoid any health issues ?

Also, are the railways a good way to travel in India ? since in those posts I’ve seen people mention how filthy the railway stations and the trains are back then.