when considering the difference in polling between Ted and Beto you also need to remember that Beto outspent Ted by a significant margin, had major star power pushing for him, The media in his pocket, and a serious socialist movement in his corner -- yet he still lost. On paper, and in the minds of Beto's people, it was impossible for him to lose.
We can keep Texas red but it will require a lot of making friends and not enemies, it will require education of the public, and it will require showing people why they are better off with freedom than [not really] free stuff.
Keep in mind that Progressives (Socialists / Communists) have been subverting public education in the US for more than a century -- gradually softening minds and rewriting history so that Socialisms failures and inherent flaws aren't taught or understood. To boot, the media has also been co-opted, acting as the propaganda arm of the Left. Their fight to this point has been long and they are now reaping some rewards for the efforts put in by generations of Leftists.
If we are to remain under a Republican form of government (not Republican as in the political party but the simple form of our Federal Government), the time and effort needs to be put in on the so-called Conservative and Libertarian sides, focusing on education and media for lasting impact. Though I find Trump's methods sometimes distasteful, I appreciate his attack on media bias as a strong thrust in the right direction. The rest of us who appreciate our birthright of Liberty as US citizens must capitalize on opportunities to educate and inform.