I dont think its hereditary, but if you have RSS and want to have kids its recommended to get genetic testing from both yourself and your partner to see what could potentially be passed on.
I know of twins, one has RSS and the other doesnt, and also families who have one child with RSS and gone on to have another child, who doesnt have it. So its just rare, and sporadic