...A title meant to be provocative. But there's truth in that.
Yes, there is a principle of hiatus avoidance in French. You might have heard about it. The thing is, when it's brought up, the sentence that commonly comes back, that I have read a looot, is "In French, we HATE hiatus". That claim is an exageration that doesn't really catch the reality of our language.
Why hiatus avoidance is a thing in French
So, here's first what this notion gets right - and here I am in opposition to the other, more niche, counter-claim that there is no hiatus avoidance in French at all and that all's at play is natural linguistic evolution that you study through etymology. In French we famously have a phonetic phenomenon called liaison, which re-awakes a silent final consonant before a vowel.
I do already have to point out that this is about "re-awaking" a silent consonant, not introducing a consonant, and you could frame it negatively by saying that it's more about reducing consonant clusters. This is something I'll grant to this "counter-claim". That being said, in modern French, the principle of liaison is often extended to other interlexical hiatus using "wrong" consonants, and those cases can only be explained by hiatus avoidance (even if under another name if you want).
We also lost the pronunciation of some final letters, typically e ("e caduc"), but sometimes also a, before vowels, in many cases, and spelling even followed suit in some of them. This is the case with the articles "le" and "la", with "de", etc. - I struggle to call that one anything but hiatus avoidance.
There is also a type of intermediate situation where, before a vowel, the masculine form of an adjective/determinative keeps the final consonant that was lost in the masculine form: this is the case of "ce" (cet), "beau" (bel), etc.
Why it doesn't make sense to frame it as "We HATE hiatus in French"
There are two big problems.
The first one is that hiatus avoidance is nothing special to French,
and the second that, indeed, we have a lot of hiatus in French (I would have added that we even may have more than in other languages, but I'm tempering that sentiment after comparing the Wikipedia page, see below; in the end we have about as many as other languages - but we have more different types of hiatus than the vast majority of them). And it can be very confusing for a learner to learn about how bad we hate hiatus in French and prevent them from existing when they'll encounter them everywhere and will have to learn how to pronounce them.
This principle of hiatus avoidance is thus found in many languages, including Spanish and Italian (which have several cases where an article is adapted because of it, for instance you say "el agua" instead of "la agua", even though it's a feminine noun), as well as English (typically using "an" instead of "a" in front of a vowel). You can find it in a different form in German and Mandarin Chinese, where a vowel that follows another vowel is sometimes introduced by a glottal stop (more on that one later). This can be the case with "Die Arbeit" or 我爱你 (the latter may be pronounced without a glottal stop, it depends). Note that the use of glottal stop exists in English, notably as an alternative to the use of "an" before a vowel - there is a great video from Dr. Geoff Lindsey about this.
Hiatus in French
Meanwhile, in French, we do have hiatus.
The first obvious example is that of liaisons prevented by an "aspirated h" (contrasted with "silent h"), i.e. an h that is dealt with as a consonant even though it's not pronounced. Thus, in "les héros", you have to pronounce two é in a row.
There are also, obviously, the cases where a word ends with a vowel, not a consonant. So, for instance, "j'ai été absent" contains 2 different hiatus.
But there are also words that contain several letters in a row. In fact, there are quite a lot.
The word "hiatus" can of course be considered an example, although phonetically it doesn't really work like that - really the "i" is pronounced like the semi-vowel (consonant) /j, or "y": /ja.tys. (in English it is officially a hiatus, but I think there is also a /j in between the two vowels)
But then there is "aorte", "Laos", "paella", "féal", etc.
Sometimes, this is avoided by changing an i, u, or ou into a semi-vowel. However, adapting the vowel to a semi-vowel is not automatic. "pays" is pronounced as 2 syllables (pé.i), instead of one (pèy); "IA" (version française d' "AI") is pronounced as the two vowels, without changing the i to a y (/j); "où est-ce" and other sequences containing "où" or "ou" is pronounced as 2 (and a half, i.e. "ce") syllable, the ou is not being changed into a w; although "bouée" is typically pronounced in one syllable, other words like "louer" or "rouer" are pronounced as 2 syllables by a lot of people.
An illustration
Let's take an example: let's analyze a paragraph from Wikipedia, on the article for "Philosophy" (a major article, available in all major languages, that you famously often end up at if you keep clicking on the first hyperlink in a page). If you read the kind of abstract placed at the top of the article, in French, you find 4 intralexical hiatus ("réel", "création", "conceptuelle", "idéal"), 6 obligatory interlexical hiatus ("philosophie est" - literally in the first 3 words -, "réflexion et", "constitue une", "questionnement et", "définition et", "liberté ou") (technically you can avoid those hiatus with a glottal stop, but this is not necessary at all, and I think it's probably not the most common pronunciation), and 5 optional interlexical hiatus ("est un", "mais avant", "tout une", "visant à", "peut également"), for a total of maximum 14 hiatus. If you compare that with English, if we take the first two paragraphs (their abstract is double the length as in French), I find a maximum of 14 (well, that's a coincidence) hiatus ("study of", "inquiry", "many of", "individual", "influential", "philosophy include", "philosophy originated", "area", "area of", "philosophy is", "spiritual", "reality", "reality and", "principally on") - in several cases this is only true in minority pronunciations, and for "inquiry" I'm very skeptical that the middle ɪ in RP isn't simply a glide /j; note that all these hiatus connect an /i or /ɪ, except two that are ʊə (arguably simply pronounced like a diphtong). I find a roughly similar number of hiatus in Italian and Spanish.
Now, it's already one thing that hiatus do exist in French just as much as they do in other languages; but since we have more vowels than most languages, that means that you have even more pairs of vowels that you need to be able to pronounce in a row.
In other languages, the glottal stop mentioned above can help deal with that, and you also find a lot of diphtongs (if there is a hiatus in the 2 first paragraphs of the article that you think I missed, it is very likely that it is simply a diphtong, like "ow", or/and a digraph like "ee"). But in French, well, in France French, there is no diphtong.
This is very important, because in many cases you could be tempted, often subconsciously, to transform a vowel sequence into a dipthong, like "ao", when that sequence is pronounced like 2 vowels in French. See for instance https://forvo.com/word/mao_zedong/ . In French, we adapt "Mao" into 2 syllables : https://voca.ro/1nmKb9ggfeiq . This makes a big difference because in French, it's the last syllable that gets stressed, so when "Mao" is used alone (without "Zedong"), it sounds exactly like this, with a stress on the "o".
Here are examples of sequences you will have to be able to pronounce:
"l'IA" https://voca.ro/1d5188VpOF75 li.a, "l'UE" https://voca.ro/16jZ5Dq0LnNE ly.ø, "lueur" https://voca.ro/1je7IXy3XhT1 ly.œR, "Léa" https://voca.ro/1eXcHAwTMf7K le.a, "louer" https://voca.ro/13XJgDdW2gy3 lu.e, "vidéo" https://voca.ro/1dalGcoQD8D8 vi.de.o (this one is often pronounced by learners with a /j instead of that /e), "vidéal" https://voca.ro/1nnstwgRAtgR vi.de.al, "j'ai aimé" https://voca.ro/16QaWKgLx1nk ʒɛ.e.me, "et elle" https://voca.ro/1isyVr0SJYFY e.ɛl, "féérique" https://voca.ro/1i2CRUrgHB0D fe.e.Rik, etc. (r can be several different allophones, but for simplification I wrote them as /R) I think vowels can probably pair (inside a hiatus) with most other vowels in at least one example. In those cases, you cannot change a vowel to a semi-vowel, or the two vowels to a diphtong (be it simply because of the difference in intonation), and adding a glottal stop is not very natural.