This is the problem with political party platforms.
They are written by party activists to inspire party activists. They have little to do with political reality or how public officials will perform once elected.
They can also really turn off more moderate and independent voters, whose support both parties need to win elections in competitive campaigns.
See Texas GOP’s new platform says Biden didn’t really win. It also calls for secession [1].