They’ve built a set of framework-agnostic loaders to help sort out which tiles to request for any given viewport https://loaders.gl/docs/modules/tiles
All of the data loading and parsing can be done in loaders.gl, check out the repo 3D-tiles examples for a good place to get started.