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

Old school classes are not supported #361

@Nautigsam

Description

@Nautigsam

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions