If you have a kindle, I highly recommend this app called Readwise. Simply connect your Amazon account and all your kindle highlights get stored in readwise. It’ll also store highlights from Medium articles & Twitter threads.
I do still enjoy physical books for the feel, but I’ve found that if I’m reading something I know I’m probably going to highlight a lot, it’s better to read it on my kindle so everything gets stored digitally.