Warning: preg_grep(): Compilation failed: quantifier does not follow a repeatable item at offset 27 in /var/www/tg-me/post.php on line 75
Frontend | Вопросы собесов | Telegram Webview: easy_javascript_ru/1670 -
Telegram Group & Telegram Channel
🤔 Как работают computed-свойства?

- При первом обращении вызывается функция — результат сохраняется.
- При изменении зависимостей — помечается как «грязное», и при следующем обращении — пересчитывается.
- Используется для оптимизации, чтобы не вызывать вычисления каждый раз, как у methods.
Важно: computed не вызывает сайд-эффекты, его задача — вычислять значения, а не "что-то делать".


Ставь 👍 если знал ответ, 🔥 если нет
Забирай 📚 Базу знаний
Please open Telegram to view this post
VIEW IN TELEGRAM



tg-me.com/easy_javascript_ru/1670
Create:
Last Update:

🤔 Как работают computed-свойства?

- При первом обращении вызывается функция — результат сохраняется.
- При изменении зависимостей — помечается как «грязное», и при следующем обращении — пересчитывается.
- Используется для оптимизации, чтобы не вызывать вычисления каждый раз, как у methods.
Важно: computed не вызывает сайд-эффекты, его задача — вычислять значения, а не "что-то делать".


Ставь 👍 если знал ответ, 🔥 если нет
Забирай 📚 Базу знаний

BY Frontend | Вопросы собесов


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/easy_javascript_ru/1670

View MORE
Open in Telegram


Frontend | Вопросы собесов Telegram | DID YOU KNOW?

Date: |

Telegram announces Search Filters

With the help of the Search Filters option, users can now filter search results by type. They can do that by using the new tabs: Media, Links, Files and others. Searches can be done based on the particular time period like by typing in the date or even “Yesterday”. If users type in the name of a person, group, channel or bot, an extra filter will be applied to the searches.

Start with a fresh view of investing strategy. The combination of risks and fads this quarter looks to be topping. That means the future is ready to move in.Likely, there will not be a wholesale shift. Company actions will aim to benefit from economic growth, inflationary pressures and a return of market-determined interest rates. In turn, all of that should drive the stock market and investment returns higher.

Frontend | Вопросы собесов from us


Telegram Frontend | Вопросы собесов
FROM USA