Accordingly, for example, Murray H. Protter, Charles B. Jr. Morrey - Intermediate Calculus-(2012) page 231 differential for function $f:\mathbb{R} \to \mathbb{R}$ is defined as function of two variables selected in special way by formula:
$$df(x)(h)=f'(x)h$$
so it is linear function with respect to $h$ approximating $f$ in point $x$. Also it can be called 1-form.
This is fully rigorous definition, which does not required anything, then definition/existence of derivative. But here is more: if we define differential as existence of linear approximation in point $x=x_0$ for which holds
$$f(x)-f(x_0) = A(x-x_0) + o(x-x_0), x \to x_0$$
then from this we obtain, that $f$ have derivative in point $x=x_0$ and $A=f'(x_0)$. So existence of derivative and existence of differential are equivalence requirements. Rudin W. - Principles of mathematical analysis-(1976) page 213.
If we use this definition for identity function $g(x)=x$, then we obtain
$$dg(x)(h)=dx(h)=g'(x)h=h$$
This gives possibility to understand record $\frac{dy}{dx}=\frac{df}{dx}$ exactly as usual fraction of differentials and holds equality $\frac{df(x)}{dx}=f'(x)$. Exact record is $\frac{df(x)(h)}{dx(h)}=\frac{f'(x)h}{h}=f'(x)$.
When you want to integrate/solve equation $\frac{dy}{dx}=y$, then, obviously you have full rights to write $dy=ydx$ and consider both sides of equality as functions of $x$. This is same as $y'(x)=y(x)$.
Let me note, that in multivariable case this approach is not acceptable.
Addition.
I cannot explain why someone assert, that $\frac{dy}{dx}$ cannot be understand as fraction - may be lack of knowledge about differential definition? For any case I bring, additionally to above source, list of books where is definition of differential which gives possibility understand fraction in question:
- James R. Munkres - Analysis on manifolds-(1997) 252-253 p.
- Vladimir A. Zorich - Mathematical Analysis I- (2016) 176 p.
- Loring W. Tu (auth.) - An introduction to manifolds-(2011) 34 p.
- Herbert Amann, Joachim Escher - Analysis II (v. 2) -(2008) 38 p.
- Robert Creighton Buck, Ellen F. Buck - Advanced Calculus-(1978) 343 p.
- Rudin W. - Principles of mathematical analysis-(1976) 213 p.
- Fichtenholz Gr. M - Course of Differential and Integral Calculus vol. 1 2003 240-241 p.
- Richard Courant - Differential and Integral Calculus, Vol. I, 2nd Edition -Interscience Publishers (1937), page 107
- John M.H. Olmsted - Advanced calculus-Prentice Hall (1961), page 90.
- David Guichard - Single and Multivariable Calculus_ Early Transcendentals (2017), page 144
- Stewart, James - Calculus-Cengage Learning (2016), page 190
- Differential in Calculus
For complete justice I mention Michael Spivak - Calculus (2008) 155 p. where author is against understanding of fractions, but argument is from kind "it is not, because it cannot be". Spivak one of my most respected and favorite authors, but "Amicus Plato, sed magis amica veritas".