79327825

Date: 2025-01-03 22:27:45
Score: 1
Natty:
Report link

You don't need to have 2 React apps. The correct way is to use your controller to validate and redirect to the correct place, depending on the user's roles.

When you validate users, you can return to a different page using Inertia->render and passing the necessary props for each page. In that view, you can import whatever component you need for your interface, but creating two different React apps is not the best approach.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Jorge Cordero