Shale gas extraction involves reusing water which can develop odor and spoilage, requiring disinfection. Sodium hypochlorite is needed for this, but transporting it to remote facilities is inconvenient. On-site preparation of sodium hypochlorite can be a better solution.