Book publishing

Hey Dan, 
How are you today? for me, I got a lot of snow in Canada :-)

What's your bet on book publishing? Let's say i'm writing a book about a popular topic (Tech -> react JS for example), what do you think about Amazon Kindle vs Gumroad vs my own website? or it's better to combine them all and why? 

Thank you so much

Best,
Ahmed