Using Blaze Template helper



As example if have this Package installed

but now

i have no idea how i can access the Template Helpers from my React Component?

thx :smiley:


You’ll need to call Blaze.renderWithData and then pass in the template name and params. Here’s a start that renders Blaze templates into React but doesn’t do it with data:

I’ve been wanted to open source a helper that does this but haven’t had the time. Just change it to renderWithData and you should be good to go.

I’m not sure what Meteor specific features it has outside of templates but you might want to look at React internationalization components too.