You asked
Should I switch from the nikon d5300 to mirrorless?
Here is what the site says about that.
From Nikon D5300: Nikon D5300: A DSLR by Nikon with a 24.2-megapixel APS-C sensor, announced in 2013. Specs - Maker: Nikon - Mount: Nikon F - Sensor: APS-C, 23.5 x 15.6mm, crop factor 1.5 - Resolution: 24.2 megapixels - Stabilisation: none in the body; use stabilised lenses for slow shutter speeds - Announced: 2013 - Type: DSLR Focal lengths on it Lenses frame like 1.5 times their focal length on full frame: 16mm like 24mm, ...
From Your first camera: What to buy: For most people, a first camera should be a mirrorless camera with an APS-C sensor and its kit zoom. Mirrorless cameras show you the exposure before you take the picture, their autofocus finds and follows eyes, and every major brand is putting its new lenses into mirrorless mounts. A recent entry-level body is plenty; the money goes further in lenses. If you want something that fits in a jacket pocket ...
Quoted from this site's pages.