|
|
|
|
|
by girvo
3738 days ago
|
|
> declaring data dependencies on route is existing convention That makes sense, I believe that's exactly what react-async does (if I recall correctly?) with react-router. For our project, we basically call "await ApiActions.getData(routeParams)" in the server's route, after pulling that params out, which is effectively the same idea, and it worked quite well. I'm curious how one would tackle that from a different perspective, but it seems we all end up coming to the same conclusion! |
|