Javascript – The proper way to handling multiple user roles and 2 statues for changing logic and UI in React
i got a project has 3 users roles (parent - child - teacher) and each role has 2 different statues (booked - unbooked) that changes the UI and logic. Example:- the home header in the home page will be change…