Zohran Mamdani's shown in New York that strong, left-leaning policies that benefit the working class are popular. If the Canadian NDP can learn from that, maybe they'll make a come back -- they need bolder policies, a bigger comprehensive vision, and to avoid getting mired in divisive identity politics.
My guess is that they won't though. Instead we'll get more of the same demographic-based stuff. The NDPs survival depends on the Liberals stuffing up enough to alienate left-leaning moderates.