Home

marko-js/marko

Status:Indexed
Analyzed 3d ago10K+ starsJavaScript

A declarative, HTML-based language that makes building web apps fun

Back to Pull Requests
#3028Closed
Moderate Review

fix: scriptlet var scope collisions

by DylanPierceyJan 1, 2026
View on GitHub

Summary

This pull request addresses an issue where scriptlet variable declarations could lead to scope collisions within Marko components. It refactors how these variables are managed to ensure they are properly scoped and don't interfere with other parts of the component or its dependencies.

Changes

+217 additions-25 deletions

Impact Areas

Compilation/TranspilationComponent RenderingVariable Scoping