Husband decided he doesn’t want kids

My husband (25M) & I (23F) have been married for almost 2 years. A few days ago he told me that he no longer wants to have children. I am not ready to try for another year or two, but I’ve always said this was a deal breaker in a relationship & he knows this. I’ve decided to stay because he’s perfect in every aspect except this one. I guess my question is, how has anyone else that has been through this coped with the idea of never having kids when you really want them. Or will he maybe change his mind one day since we’re still young & have been going through a stressful time between moving & him having family issues lately?