Sooo for us new to biking ….How do we know it is a “quality part” like I have no idea Tektro is good or bad quality? I am leaning towards LBS purchase but even there I really don’t know. They have huge range of price levels too. Then I see people order Specialized or RM and then they immediately upgrade all sorts of parts.… and I read of their problems too. I hope this doe not come across as snarky, it is a genuine question. Is it purely a function of spend more $$? As I like most of us have a budget. When does it shift from paying for quality to paying for a brand name?
controversial subject, for sure, and an interesting question. at the very highest cost levels, you're not paying for quality, but often light weight, features, aerodynamics, or finish/style. but in bikes, the very highest cost levels are unlikely to appear anywhere near most ebikes - e.g. the set of brakes, derailleurs, cranks, cassette, in shimano's highest end road parts costs over $4k by itself. quality, yes, reliable, yes, but built first for speed, light weight, etc.
the big three manufacturers of bike parts are shimano, sram, and campagnolo. they each have a range from very low cost to high within each type of bike parts - mountain, road, etc. we've owned bikes with parts from nearly the cheapest sets to the most expensive within a couple shimano lines, and have not had problems with the inexpensive ones.
tektro makes a very, very wide range of brakes, some which are so cheap that they can't be terribly good, and some which are excellent. like most all bike parts they're made in taiwan or china, which really doesn't mean anything. some things made there are fantastic quality, some or junk. my personal strategy is to stick to larger, well known brands or boutique brands which have very strong word-of-mouth, and in the larger brands, avoid the one or two cheapest levels of components. for something like hydraulic disk brakes, which are a bit mysterious compared to simple cable pull brakes, that's an absolute for me. if my life depends on the reliable operation of something where i can't fully see exactly how it works and that it is working, i won't buy the very cheapest version of it, period.