hey, i think using fastapi.staticfiles could maybe your preferable route. have u tryed serving the frontend this way so that dynamic react routes work out? what are ur thoughts on managing that more efficiently?
hey try mounting the build folder with fastapi.staticfiles and use a wildcard path for unknown urls to serve index. react router can then manage its own routing. hope this helps!