I read about this idea for a mosquito trap (with a rather tactless name) where the idea seems to be that because the water available for the mosquito eggs is so shallow, they will die somehow or not be viable. Mosquitos are pretty small though, wouldn't they not need much water for the eggs to hatch?
Many mosquitoes, such as Culex quinquefasciatus, lay their eggs on the surface of fresh or stagnant water. The water may be in tin cans, barrels, horse troughs, ornamental ponds, swimming pools, puddles, creeks, ditches, catch basins or marshy areas. Mosquitoes prefer water sheltered from the wind by grass and weeds (reference). There are mosquitoes like Aedes taeniorhyncus (floodwater mosquitoes) which can even lay eggs in moist soil (because the eggs need to dry out before they can hatch) which then waits for the rainy season for hatching. These eggs are capable of surviving through summer, winter and spring to find the right time to hatch (reference). Water is necessary during the life cycle of a mosquito but how much is never an issue. Even the top of some mushrooms can be a place for mosquitoes to lay eggs (reference).
I have them in my property breeding in my containers all the time. From a few inches gets the best results (more mosquitoes) but I’ve gotten colonies in water up to 2-3’ deep.