DSLRs are perfectly fine for astrophotography. It's not the mirror—or lack thereof—that matters; it's the sensor behind it that makes the difference. For now, DSLRs still have the same sensors and image processing chips as mirrorless cameras, so there's no real difference in the results they produce. But DSLRs are slowly becoming obsolete, and the technological difference between them and mirrorless has become more significant.