Releases: liamqma/sync-views
Releases · liamqma/sync-views
v0.3.0
Add ability to have redux Provider wrapper.
Usage:
var store; // Redux store
var render = views('examples', {
map: { js: 'redux' }
});
render('user', {store: store}); // <Provider store={store}><User /></Provider>
v0.2.0
Merge opts.locals
Usage:
var render = views('examples', {
locals: { name: 'foo' }
});
render('user'); // locals should contain { name: 'foo' }
v0.1.0
Add default map [{ jade: 'jade', js: 'react' }
]