💡 Wagtail tip: Need to fetch blocks by name in a #StreamBlock? Instead of iterating manually, use block_by_name.
I wrote a quick TIL on how to get the first block by name efficiently:
🔗 https://til.sanyamkhurana.com/#/topics/wagtail/get-blocks-in-streamblock-using-blocks-by-name-first-block-by-name