(display all tasks)
/login (login system)
/task/<id>/index (displays info about the task)
/task/<id>/references (displays info about task references)
and many more...
I think this is call a multiple-page app??
But I was thinking in using React to build this web application. Is it a viable to use React? I just read that React is mainly for single-page apps but that doesn't seem to be my case, I need some expertise opinions.
(I have a RESTful back-end, so data is taking thro APIs)
Yes it is a multi-page-app. You have multiple options.. A: Create a component for every page and only load this component and its required components on this page - code splitting will take some effort but it is doable. However you will lose proper routing capabilities. B: Use a SSR framework like nextjs and have it take care of routing, data hydration and code splitting. This can take a few more steps to setup but will pay off in the long run.
Обсуждают сегодня