=head1 NAME Template::Plugin::React - Plugin for Facebook React =head1 DESCRIPTION This is a Template Toolkit plugin to render L components. The current version is C<0.002>. =head1 REQUIREMENTS Mozilla's L and L must be installed. SpiderMonkey 24 was used to build this module; if you use a different version, your mileage may vary. The C script uses C to learn about the compilation flags to use, so make sure that is in your C. =head1 USAGE This plugin only exposes a single function: C. C must be a string representing the component name, and C, if passed, must be a hash ref representing the data to provide to the component during rendering. JavaScript exceptions are propagated up and sent to an invocation of C. [% USE React %] [% React.render('Component', data) %]