Because a pocket door is installed inside a wall, you should make every effort to avoid problems that could occur some time down the line.
Buy quality hardware that matches the weight and size requirements of the door. Rollers should be the type that won't jump the track; the type that can be released from the door with a flip of a small lever are worth considering. Also look for a track that can be removed without tearing out the walls. Hire a qualified installer or, if you do the work yourself, be sure the header is level and side jambs are plumb. Allow a 3/16-inch clearance between jambs and door so that, if the door warps slightly over time, it won't bind in the jambs.
And last but not least, take care in painting both the door and jambs to avoid paint buildup that could cause the door to stick.