The LM1117 voltage regulator datasheet recommends using tantalum capacitors on the input and output. What is the reason for this? What advantage does tantalum have over a ceramic capacitor?
A 10μF tantalum capacitor costs about 21 cents, while a 10μF ceramic capacitor costs about 3 cents. The ceramic capacitor is also a bit smaller physically. Plus, you don't have to worry about getting the polarity wrong on a ceramic capacitor. I believe there is also less concern about conflict minerals with ceramic capacitors.
What advantage does the tantalum capacitor offer, and why does the datasheet recommend tantalum for the input and output capacitors of the voltage regulator? What exactly would happen if a ceramic capacitor was used instead?
Note: To everyone who's claiming this is a duplicate of Why does the LM1117 data sheet specifically specify tantalum capacitors?, that question is about tantalum versus electrolytic capacitors, while my question is about tantalum versus ceramic capacitors. Related, but not the same.