You may want to look into the PMTiles format and tippecanoe. It efficiently produces pyramidal XYZ tile overviews of vector data. Sometimes this is also done server side via the PostGIS asMVT ffunction, or Martin.
For client side rendering, deck.gl is quite good, also a newer library called lonboard from DevelopmentSeed.