i asked myself this question before i started transitioning. for me though, it wasn't about someone who would be attracted to me but how selfish of a time transitioning is. it takes a lot of your time, a lot of your energy and focus, etc. i found it best to wait until i was in a comfortable place transitioning that i would have time for someone else (eg. after hormones). surgery wasn't a big deal though. i feel when you're just starting out and everything is new and you're trying to figure it all out, and sometimes the pressure of a relationship is a lot on top of that. if someone accepts you for you though and knows you are transitioning, good for them and you maybe should try that out. they would just need to understand a lot will change and you won't look the same over time, etc. it is a lot to deal with for a partner too who met you pre-transition. idk, that's just me though. i feel as if i would have liked it better if someone saw me as i would like to see me, fully male and nothing else that made me more comfortable when dating.
if you decide to date and meet someone, etc. then it is best to tell them straight up so they know what journey they are also getting into with you. how you'll need to communicate, things will change, transitioning will probably be a lot of your convo, etc. you would need someone to support you and respect you etc.