The only times I have ever bonked is around mile 21 running a marathon. I get tired and hungry while riding, but even doing a century ride I never bonked. I don't take food on a ride less than 50 miles.
Hydration on the other hand is vital. I am always sure to bring plenty of water. Dehydration kills performance much faster than calorie deficit.