title: how to have a shared layout for specific routes in nextjs
body: <p>how to have a shared layout for specific routes in nextjs? I want to create a singleton object(signalR connection object) in one place within a common layout for some related routes(chat routes) which have common businesses and use this object in all these routes, please help me with this</p>