In this paper, we consider the scalar reaction-diffusion equations ∂tu=∆u+f(x,u,∇u) on a bounded domain Ω⊂Rd of class C2. We show that the heteroclinic and homoclinic orbits connecting hyperbolic equilibria and hyperbolic periodic orbits are transverse, generically with respect to f. One of the main ingredients of the proof is an accurate study of the singular nodal set of solutions of linear parabolic equations. Our main result is a first step for proving the genericity of Kupka-Smale property, the generic hyperbolicity of periodic orbits remaining unproved