Для синхронизации или передаче данных между разными вкладками можно использовать LocalStorage
Во Vue можно даже сделать реактивную обертку.
Но можно гораздо проще и эффективней - через Broadcast Channel API. C помощью него можно создавать канал, постить в него сообщения и слушать сообщения приходящие в этот канал.
// Создаем канал const bc = new BroadcastChannel("share_channel");
// Посылаем сообщение в канал bc.postMessage("Сообщение какое-то");
// Ловим событие в канале bc.onmessage = (event) => { console.log(event); };
Также postMessage можно использовать для связи открытых окон ( login ) с родительским окном - window.opener.postMessage()
Для синхронизации или передаче данных между разными вкладками можно использовать LocalStorage
Во Vue можно даже сделать реактивную обертку.
Но можно гораздо проще и эффективней - через Broadcast Channel API. C помощью него можно создавать канал, постить в него сообщения и слушать сообщения приходящие в этот канал.
// Создаем канал const bc = new BroadcastChannel("share_channel");
// Посылаем сообщение в канал bc.postMessage("Сообщение какое-то");
// Ловим событие в канале bc.onmessage = (event) => { console.log(event); };
Также postMessage можно использовать для связи открытых окон ( login ) с родительским окном - window.opener.postMessage()
China’s stock markets are some of the largest in the world, with total market capitalization reaching RMB 79 trillion (US$12.2 trillion) in 2020. China’s stock markets are seen as a crucial tool for driving economic growth, in particular for financing the country’s rapidly growing high-tech sectors.Although traditionally closed off to overseas investors, China’s financial markets have gradually been loosening restrictions over the past couple of decades. At the same time, reforms have sought to make it easier for Chinese companies to list on onshore stock exchanges, and new programs have been launched in attempts to lure some of China’s most coveted overseas-listed companies back to the country.
At a time when the Indian stock market is peaking and has rallied immensely compared to global markets, there are companies that have not performed in the last 10 years. These are definitely a minor portion of the market considering there are hundreds of stocks that have turned multibagger since 2020. What went wrong with these stocks? Reasons vary from corporate governance, sectoral weakness, company specific and so on. But the more important question is, are these stocks worth buying?