![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
backbone.fumanchu
Advanced tools
Let your handlebars grow with live template bindings for Backbone & Marionette.
Fumanchu provides a set of Handlebars Helpers and Marionette overrides that simplify otherwise tedious tasks.
This project is currently pre-alpha and not yet suitable for production use.
describe("'view' helper", function(){
beforeEach(function(){
var BeanView = Backbone.Marionette.ItemView.extend({
template: 'beans'
});
var View = Backbone.Marionette.ItemView.extend({
template: '<div>bottle and {{view "beanView"}}<div/>',
beanView: BeanView
});
view = new View();
view.render().$el.appendTo(testContainer);
});
afterEach(function(){
view = undefined;
model = undefined;
template = undefined;
testContainer.empty();
});
it('should render nested view', function(){
expect(view.$el).to.have.text('bottle and beans');
});
});
describe("'bind' helper", function(){
beforeEach(function(){
testTemplateWithModel('<div>hello, {{bind "model.name"}}</div>', {name: 'Andy'});
});
it("should render initial value properly", function(){
expect(view.$el).to.have.text('hello, Andy');
});
it("should update the value once the model has changed", function(){
model.set('name', 'Bob');
expect(view.$el).to.have.text('hello, Bob');
});
});
describe("'bound-if' helper", function(){
beforeEach(function(){
testTemplateWithModel('<div>We should {{#bound-if "model.isWeekend"}}party {{bind "model.pun"}}{{else}}work{{/bound-if}}!</div>', {
isWeekend: true,
pun: 'hard'
});
});
it("should render initial condition with nested helpers properly", function(){
expect(view.$el).to.have.text('We should party hard!');
});
it("should rerender when condition changes", function(){
model.set('isWeekend', false);
expect(view.$el).to.have.text('We should work!');
});
});
it("should render and update properly in basic case", function(){
testTemplateWithModel('<span {{bind-attr class="model.isValid?green:red"}}>message</span>', {
isValid: true
});
expect(view.$("span").attr('class')).to.equal('green');
model.set('isValid', false);
expect(view.$("span").attr('class')).to.equal('red');
});
For a description of current features, see current specs here
MIT
Released 11 January 2014
Released 9 January 2014
FAQs
Live template bindings for Backbone/Marionette.
We found that backbone.fumanchu demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.