Take for example the hydrolysis of NaF.
Na doesn't react with water but F does according to the equilibrium equation:
H20 + F- <---> HF + OH-
So a basic solution is said to be formed. What I don't understand is that, isn't HF a stronger acid than F- is a base? Wouldn't the solution therefore end up being acidic?