I don’t. Instead I use a /etc/hosts file. Much better imo, because I don’t have some external script that has access to the content and input of all my web pages.
Best to use both. uBlock Origin does more than block IPs.
For YouTube, I also highly recommend SponsorBlock.
I prefer not to use any browser plugins that can read or manipulate all websites that I visit.
Individual plugins may be trustworthy, but they may be breached too.