Other crucial 19th century advances were ; an understanding of valence bonding ( Edward Frankland in 1852 ) and the application of thermodynamics to chemistry ( J. W. Gibbs and Svante Arrhenius in the 1870s ) .