Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APIs not working #168

Open
CROmartin opened this issue May 31, 2023 · 0 comments
Open

APIs not working #168

CROmartin opened this issue May 31, 2023 · 0 comments

Comments

@CROmartin
Copy link

Hello,

I have followed https://glimmerjs.com/ installation process and I had issues with dependencies being outdated and the default babel caching option wasn't set.

Alright, after fixing this issue I successfully ran the Glimmer project, but after I tried using hbs I got an error: "'hbs template should have been compiled at build time". Then I tried using {{on "click" this.increment}} within precompileTemplate and I got: "TypeError: Invalid value used as weak map key".

I have tried then running the Playground example from: https://github.com/glimmerjs/glimmer-experimental/tree/master/packages/examples and it worked flawlessly.

The guide on https://glimmerjs.com/ is outdated and it only helps you set up a corrupted Glimmer project that won't work. Feel free to try it for yourself, try to use any Glimmer API within the project.

My example: https://github.com/CROmartin/Glimmer-corrupted-example

Let me know your opinions, does the Ember team care anymore to make Glimmer a standalone framework or that is just a past idea that is slowly dying?

Best regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant