emberjs / emberjs/ember.js

support `{ toString(): string }` and `{ toHTML(): string }` as reactive outputs

Open
#21,041 8 comments 0 reactions 0 assignees View on GitHub
glimmervm
Dominant language
TypeScript
Stars
22.6k
Forks
4.2k
Avg merge
3d 12h
Merged PRs (30d)
15

Description

I don't see supporting either of these things as breaking, as today, you got `[object Object]` or similar when rendering "things with methods".

What we need to make sure though, `toString()`, and `toHTML()` are reactive.

Could replace: https://github.com/glimmerjs/glimmer-vm/blob/f03632077d98910de7ae3f7c22ebed98cb4f909a/packages/%40glimmer/vm/lib/opcodes.ts#L149-L153

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.