Search posts, tags, users, and pages
Joshua Uchenna Amaju
Designer & Front-end developer
I think this would work fine on small applications, but would it scale well as your application gets complex?
akash gupta
Full Stack Developer | @angular | @nestjs | @mongodb | @neo4j | @graphql | @ionic | @expressjs | @flutter | @react-native
Instead it will help when you scale your project. Routing will be managed in once place instead of scattered all over the pages.
Complexity came into existence when we or other can't understand the written code so above approach will help you to make it more clean.
akash gupta I think you might have a function (hook) that does/knows too many things, but I might be wrong on that. 👍🏽