Republican Presidential candidate Donald Trump listens to a question during an interview after a rally in Virginia Beach, Va., Monday, July 11, 2016. Associated Press/Steve Helber Donald Trump has mastered technology when it comes to running a viral campaign on both Twitter and Facebook.

But when it comes to policies related to technology, Silicon Valley leaders have criticized the Republican presidential nominee for not being clear on what his agenda for the industry would be in office.

Trump has been endorsed by one tech luminary, Peter Thiel, but many others in the tech industry have called Trump a "danger to innovation."

Here is why many in Silicon Valley feel so threatened by a Trump presidency: