@djangoproject · Post #570 · 08.02.2018 г., 19:28
https://blog.cloudboost.io/react-redux-webpack-3-django-nov-2017-53a09d09cf75 #React + #Redux + Webpack 3 + #Django (Nov 2017)
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #402 · 22 дек.
Отдельно разберём TaskGroup, который пришел на замену gather в Python 3.11. Ключевые отличия ▫️create_task() возвращает объект asyncio.Task, у которого есть соответствюущие методы управления. То есть у нас больше контроля ▫️это контекстный менеджер, который гарантирует что все таски будут остановлены по выходу из контекста ▫️ошибка автоматически отменяет незавершенные задачи, ▫️except* передает нам ExceptionGroup, в котором каждую ошибку можно обработать отдельно import asyncio import random async def do_it() -> str: if random.random() < 0.1: raise ValueError('Oops') delay = random.uniform(0.5, 1.5) await asyncio.sleep(delay) return delay async def main(): try: async with asyncio.TaskGroup() as tg: for _ in range(10): tasks.append(tg.create_task(do_it())) for t in tasks: print(t.result()) except *ValueError as e: for err in e.exceptions: print(err) asyncio.run(main()) Рекомендую изучить страницу Coroutines and Tasks из документации, где представлено больше интересных примеров и механизмов - таймауты - отмена задач - создание задач из другого потока #async
Hashtags
Пребарај: #redux
@djangoproject · Post #570 · 08.02.2018 г., 19:28
https://blog.cloudboost.io/react-redux-webpack-3-django-nov-2017-53a09d09cf75 #React + #Redux + Webpack 3 + #Django (Nov 2017)
@djangoproject · Post #567 · 01.02.2018 г., 10:59
https://hackernoon.com/shape-your-redux-store-like-your-database-98faa4754fd5 Using the #Redux Store Like a Database #React #Django
@thedevs · Post #1179 · 21.07.2018 г., 19:00
What Is Redux: a designer’s guide. #article#tutorial#redux#design#js @thedevs https://kutt.it/DNkfgP
@thedevs · Post #1234 · 30.09.2018 г., 09:53
Immutability in React and Redux: the complete guide. #article#tutorial#js#react#redux @thedevs https://kutt.it/DKHpWD
@thedevs · Post #1163 · 04.07.2018 г., 18:34
Understanding Redux: the world’s easiest guide to beginning Redux. #article#tutorial#react#redux#js @thedevs https://kutt.it/N81D6p
@githubtrending · Post #15034 · 07.08.2025 г., 11:30
#javascript#antd#music#music_player#nodejs#react#react_router#redux#webapp#webpack Copper Bell is a free website app focused on listening to music. It offers many songs and has a simple, clean design that makes it easy to find and play your favorite music. You can search for songs, make playlists, read scrolling lyrics, save songs, and create your own song lists. It does not have live broadcasts, social features, or ads, so there are no distractions and you get a pure music experience. You can use it on any modern web browser without installing anything. It works on many devices, including tablets. This way, you can enjoy music, manage your songs, and discover new tunes easily anytime and anywhere. https://github.com/enzeberg/tonzhon-music