I would classify a trick as something that happens to work but isn't rigorous. Like treating dy/dx as a fraction sometimes works, but only under certain conditions.
Where this doesn't work is if you have more than 1 dimension. Then you need to deal with the added complexity of integrating modular forms and the fact that in 2D you don't have df = (df/dx) dx but df = (df/dx) dx + (df/dy) dx. The chain rule also changes into a matrix product, rather than a simple dz/dx = dy/dx dz/dy.