Synthesis of layered double hydroxide/poly(N-isopropylacrylamide) nanocomposite hydrogels with excellent mechanical and thermoresponsive performances.