You can check out the way that Rogue One sets up a plot point in The Last Jedi below, courtesy of Kyleauxren’s Twitter account.
One of the biggest problems for the Resistance in The Last Jedi is that the First Order has perfected a technology that allows them to track through hyperspace.
The entire scene that many may not have thought twice about held a major plot point for Rian Johnson’s The Last Jedi.
Major SPOILERS for The Last Jedi ahead, read at your own risk.