Hose selection for solar heater

I am building a solar water heater for my pool and diverting water to it with a 3-way valve.  I was just going to use a garden hose to run the water to the heater but can a regular rubber garden hose handle the chemicals in pool water?  My pool is chlorinated salt water so it contains sodium hypochlorite and hypochlorous acid according to my google search.  Thanks