In a medium sized project, I still use Blaze, and still use Iron-Router, but I decided to move ahead with some code-splitting (dynamic imports) of Blaze templates based on the path.
It works great, but I have noticed a minor bug that only occurs occasionally. It seems that after importing the template that it sometimes runs some of the helpers before the data is ready. This generates errors because ‘this’ is not set up yet. It results in binding errors.
But then it continues and runs the template correctly, and the result is what i expected.
Anyone else seen this, and are there any suggestions?