Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Old school classes are not supported #361

Open
Nautigsam opened this issue Mar 16, 2022 · 0 comments
Open

Old school classes are not supported #361

Nautigsam opened this issue Mar 16, 2022 · 0 comments

Comments

@Nautigsam
Copy link

I see many examples using the class keyword but this is just an abstraction over prototype manipulation.
I wrote an example using what I call an "old school class" : https://hegel.js.org/try#GYVwdgxgLglg9mABAcQE4FN1XagFGAQwFt0BKRAbwChFEoALGAZwDpCTEBeRd9KgXypU0mbKhYAHVHCgyAnhPQsA5hixdEoSLAS5y1WhARM4AGyWm4y3AAMAEulOXEAEgoNmbYun4BCG6QCQkZgTFCIyhpg6ADuKGpiuABEAOpwqKYAJkmByioJekA
I looks like Hegel does not have the concept of function context and its prototype, which I believe is still very common in Javascript.
Although, I find this project very interesting and I am eager to see it evolve.

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

No branches or pull requests

1 participant