First, the show is excellent but that is not 100% the same thing, not even close. That's the problem with parallels which I think the show stays away from for the most part. Late 19th, early 20th century America was far different than today. The world was far different with unexplored areas, different nations, different power alignments, and about 6 billion less people. People weren't considered angry racists for not letting in every sad sap story in the world. In fact, most people were a lot more honest about the issues of diversity than today.
You are exactly right that people were angry about immigrants taking jobs but that's about the only parallel found. The US was still growing with a very small western pop and much fewer massive cities. No women working, far fewer rights, and no diversity hiring.
The show is great and I hope they continue to push stories instead of agendas.