I have a page, it can go to view mode or edit mode. Each components inside the page may look a little bit different in two modes.
What is the best practices to pass in the view/edit mode information to each components? Global is easy but it is leaking the information.