Skip to content

RedGin v0.2.1 Release Notes#17

Merged
josnin merged 19 commits into
mainfrom
Dev
Feb 22, 2026
Merged

RedGin v0.2.1 Release Notes#17
josnin merged 19 commits into
mainfrom
Dev

Conversation

@josnin
Copy link
Copy Markdown
Owner

@josnin josnin commented Feb 22, 2026

New helpers

// Surgical attribute binding
${attr('disabled', () => !this.editable)}
${attr('class', () => this.active ? 'active' : '')}

// Reactive data streams
${stream(this.userStream, user => html`<div>${user.name}</div>`)}

// Global styles (injected once, used everywhere)
shareStyles(css` :host { --brand: blue; } `)
shareStyles('<link href="bootstrap.min.css" rel="stylesheet">')

Performance

Faster surgical updates
Reduced memory usage
Smarter dependency tracking
Better update batching

Fixes

Memory leak in long-lived apps
Style duplication with shareStyles
TypeScript inference improvements

@josnin josnin self-assigned this Feb 22, 2026
@josnin josnin added the enhancement New feature or request label Feb 22, 2026
@josnin josnin merged commit 4f9bbc3 into main Feb 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant