In her original timeline, Hermione had heard of briefcases and womens bags that held portable homes and offices in them. Like with tents, magic was able to make an externally small space internally massive. Over the years she'd been slowly adding rooms and such to the inside of her beaded bag. The spaces inside and the rooms were quite like walking into other dimensions.