I agree the grip helps confidence, but it's also technique 'staying on the pedals'.+1 on this combo.
Im pretty new to trail riding so have been slowly working on technique
As mentioned, bent knees and dropped heels is great advice.
I found decent shoes made a very noticeable difference, went from Teva Links to Fiveten Freeriders, wish i had spent the cash on the shoes sooner!
Extra grip instilled great confidence, specially for me when getting air over lips and ramps.
I have two pairs of 510's, the older style the the same sole all over (the round bits of rubber) and the newer style with the smooth part where the pedal is meant to go. Both solid shoes, my older pair saved my feet a couple of times when I've come off the pedals! At the moment I'm using them working on my house!Looks like I'mma have to get me some of those Five Tens then, because my worn-out $40 Target runners are slipping all over my washerless Saint pedals.
Only comment I can make is sometimes the older style shoes get caught up on the pedal pins when you put your foot down in the wrong position, I've had a couple of hairy moments riding downhill with my foot in the wrong position until I get a chance to lift off and move it back into position. The newer style shoe with the flat section allows you to move your foot a bit more without lifting off (compared to the old shoes).
Older style shoes I paid about $120 for, newer style I paid about $40 for on a Pushys sale, they're a horrible red colour and look like clown shoes but who cares!