Why did North Macedonia join Yugoslavia if their language is different?

Posted by Hopeful_Addition7834@reddit | AskBalkans | View on Reddit | 67 comments

So if Serbo-Croatian can be considered as one language with multiple dialects, and Bulgarian and Macedonian are also like that, then why did North Macedonia join Yugoslavia, and not Bulgaria or stayed independent?