Let’s begin with the Oompa Loompas. This musical, based on the 1971 film adaptation of Roald Dahl’s classic, is worth the trip for these chocolate-factory foot soldiers alone as they march out, part military troupe, part scary circus-clown act, with their bendy balloon limbs clad in striped onesies and their blankly staring eyes framed by tinfoil fringes.They are a sight to behold, indeed.

Then again, director Nikolai Foster’s production brings one coup de theatre after another, wringing the magic from every last element of Dahl’s story as we follow five young golden ticket winners and their accompanying adults into Willy Wonka’s factory.For a drama that is all about exercising the imagination, encapsulated in Charlie’s incorrigible daydreaming, this production amps that very quality up to 11.George Consterdine, right, is a hungry Augustus Gloop. Photograph: Marc BrennerLeslie Travers’ set is so full of dazzle that it leaves you near breathless.

We begin in Charlie’s home, which has the gorgeous ramshackle detail of an illustrated children’s book. Reports of the golden ticket winners are enacted as rolling TV news around Charlie’s family, complete with two comical newscasters.

It is as playful as it is immersive, with screens projected around the proscenium arc. When we arrive at the gates of Wonka’s world, it looks like Dr Frankenstein’s lab has been dipped in chocolate, with bubbling vats and looping pipes across the breadth of the stage.David Greig’s book is filled to the brim with humour, and the songs are sensational, too.

The Candy Man, Pure Imagination and the Oompa Loompa song are taken from Leslie Bricusse and Anthony Newley’s 1971 score, but the rest are Marc Shaiman and Scott Wittman’s compositions, written in 2013. They come thick and fast, each an earworm.

The vocal strength of the performers – so many of them children – is remarkable, especially that of Theo Wake, playing Charlie Bucket on press night.Jonny Fines’s Wonka resembles Gene Wilder rather than Johnny Depp’s weirder manifestation in the 2005 film. He is almost childlike in his mischief and manages to keep our sympathies while revealing his dark side as, well, a child killer.

The children themselves are updated to include mentions of wifi or TikTok. Veruca Salt (Rose Jammeh) is a foot-stamping Russian daddy’s girl here (rather than British), Augustus Gloop (Benjamin Dalton) is still an overeating Bavarian, Mike (Samuel Smith) a screen-obsessed American and Violet (Matida Nyamuda) a gum-chewing young influencer from Hollywood.

They bring gleeful farce without jarring in their cultural typecasting, and have exuberant songs as they are introduced, such as More of Him to Love, When Veruca Says and the Queen of Pop.The scale of it all is that of a golden age musical with a large ensemble comprising the community company team, Gobstopper, along with flowing choreography by Ebony Molina, thrilling flecks of illusion by Chris Fisher and off-the-scale imagination in Katrina Lindsay’s costume design. It’s sheer sugar-rush joy.