A big part of that was bringing back The Overlook Hotel for Doctor Sleep.
So you should be able to watch the two movies back to back and feel like they fit together, which is pretty cool.
Just as the director of a television pilot establishes the tone and aesthetic of the series to which predecessors can adhere, Mike Flanagan made sure that he made Doctor Sleep in the style of Stanley Kubrick, using the cinematic language of that original movie, as well as significant elements of the production.