Don't ride on streetcar tracks, ride over them, beside them, or between them.
Cross at more than 40 degrees if you can.
Sometimes the weight of the streetcar/passengers and poor resurfacing,
causes the track to sink, forming a ridge; kind of like bus knuckles.
Some tracks are deep enough to use the grooves as wheel chocks. A section in the east end (Kingston Rd IIRC) was brutal.
I get as far away from the track as possible and do a quick push steer to the left popping the bike vertical as it crosses the track and then push steer right to stay between the rails.