Two tricks to share that I learned when my son and I were racing bikes....
If possible always adjust the levers in so they don't stick out past the end of the bar.
Tighten the lever mount clamps just enough so they don't move around while using them but leave them loose enough so an impact will let them spin on the bar and not snap the lever.
We even used to run a wrap of Teflon tape on the bar under the clamp to help it spin if it hit the dirt. Racing and crashing go hand in hand so we did everything we could to save levers.