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

[Compiler] Component #77

Open
LittleSound opened this issue Dec 20, 2023 · 3 comments
Open

[Compiler] Component #77

LittleSound opened this issue Dec 20, 2023 · 3 comments
Assignees
Labels

Comments

@LittleSound
Copy link
Member

LittleSound commented Dec 20, 2023

Most of the basic APIs related to component runtime have been basically implemented or are waiting for merging. I think it's time to complete the basic implementation of the component Compiler part.

related: #4

@Ubugeeei
Copy link
Member

About runtime code for creating component instances.

Currently, it kind of feels like I'm forcibly using the render function that has been in this repository since the beginning, and the interface is not very clean.
As I mentioned in #40, before implementing the compiler, it might be better to first tidy up the runtime interfaces like createComponent. 🤔

@LittleSound
Copy link
Member Author

You are right. After I tried it, I also found this problem, and I think it's good to make some attempts. Now we know that we must separate the creation of components from the mounting of components.

@Ubugeeei
Copy link
Member

createComponent and props compilation are mostly completed in #151 !
Directives and slots, among others, are not yet supported.
The runtime for slots just merged a moment ago.
I think it's possible to start working on these now.

related:

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

Successfully merging a pull request may close this issue.

2 participants