Download UI Architecture Book - https://www.logicroom.co/start
UI Architecture Masterclass - https://www.logicroom.co/wb-uiarchite...
In each dependency in our UI app, we’re going to want to decide on which design pattern to use: a Singleton that stores the lifecycle of the component during the lifetime of the application, or a Transient that renews itself every time it’s loaded. The best way to use Singletons, is when we want to keep hold of variables like storing state. And the best way to use Transients, are for components that reload all the time like the presentation layer.
Смотрите видео How To Use Transient and Singleton Dependencies in Front-end Architecture онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Logic Room - Learn UI Architecture 19 Апрель 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 120 раз и оно понравилось 6 людям.