But df/dx is a fraction, is a ratio between differential of f and standard differential of x. They both live in the tangent space TR, which is isomorphic to R.
What's not fraction is \partial f / \partial x, but likely you already know that. This is akin to how you cannot divide two vectors.