Don't recreate inputs from scratch on each render