Currently, if a React template gets passed reactive props (by a Blaze template), it never updates to reflect them.
This updates the props with an autorun, so now a React template can be used inside a Blaze template receiving props from reactive helper functions. For example, with a players helper defined on UI.body the leaderboard example could call {{> Leaderboard players=players}}.
Currently, if a React template gets passed reactive props (by a Blaze template), it never updates to reflect them.
This updates the props with an autorun, so now a React template can be used inside a Blaze template receiving props from reactive helper functions. For example, with a
players
helper defined onUI.body
the leaderboard example could call{{> Leaderboard players=players}}
.