In my opinion, these decisions are based on personal instincts which are driven by passion and drive. But in a more realistic approach, working on a side hustle would be better till it gets some shape. Once it's foundations are set, you can quit your job to nurture, build and grow it further.