There are two main types of driveshafts used in RC racing cars - constant-velocity drive (CVD), and universal joints. Which driveshaft will work better for you will depend on the driving conditions.
The main difference between the two is that universals have less friction.

Universal joints
- More forgiving handling
- In front: more responsive steering
- In rear: handles bumps more smoothly
- Ideal for low grip, bumpy, technical tracks

CVDs
- More responsive handling
- In rear: more stable in acceleration
- Ideal for high grip, smooth, open tracks
For a great overview with a focus on off-road applications, check out Max Mört's explainer.