I am currently located in central Europe. When I was hunting for an assistant professor position some months ago, I was also planning to apply to some US institutions for Tenure Track positions. However, one senior professor with some experience working in the US told me pretty much straight-up that this will be a waste of time, as "US universities do not hire people from outside the US/Canada on Tenure Tracks". Relativizing somewhat, stated that "of course exceptions exist, especially if they personally know the applicant, but generally you will get onto the reject pile immediately as they don't know your school well enough.". I was counselled to apply for a postdoc at an US institution first, if I really wanted to get into an US school.
Looking over the CVs of some existing assistant professors in good schools the statement could be accurate (almost nobody with the job title Assistant Professor seems to come directly from outside the US - many graduated somewhere else, but the last position before was almost always an US institution).
In your experience, is this sentiment correct? Does it even make sense to apply for a TT position in the US from outside (under the assumption that your CV is reasonable for a TT in the first place, of course)? Computer Science is most relevant to me, but any information from any STEM fields would be interesting as well.