mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
9 lines
402 B
JavaScript
9 lines
402 B
JavaScript
// Test for issues #749 #690. Using multiple root nodes or style tag at the root would
|
|
// cause an infinite loop on rerender. This code does not perform any assertions
|
|
// but it will get caught in an infinite loop without the changes in PR #751
|
|
module.exports = function (helpers) {
|
|
var component = helpers.mount(require.resolve("./index"), {});
|
|
component.state.count = 1;
|
|
component.update();
|
|
};
|