core: update MitosisComponent.bindings to include arguments
See original GitHub issuebindings: {
[index: string]: {
arguments: string[],
code: string
};
}
in order to allow devs to change the event name we need to get the arguments from jsx and rewrite the code in the generator.
This PR is an example of that without arguments https://github.com/BuilderIO/mitosis/pull/323
Issue Analytics
- State:
- Created a year ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
mitosis/components.md at main - GitHub
Write components once, run everywhere. Compiles to Vue, React, Solid, Angular, Svelte, and more. - mitosis/components.md at main · BuilderIO/mitosis.
Read more >A Quick Guide to Mitosis: Why You Need It and How You Can ...
Mitosis is a compile-time framework that allows you to write components in JSX and compile to vanilla JavaScript, Angular, React, Vue and more....
Read more >The function of spliceosome components in open mitosis - PMC
In this review, we survey published data supporting an indirect function of splicing in open mitosis or arguing for a direct function of...
Read more >The "component" binding - Knockout.js
The component binding injects a specified component into an element, and optionally passes parameters to it. Live example; API; Component lifecycle; Note: ...
Read more >The human origin recognition complex is essential for pre-RC ...
In human cells, ORC1 is the first ORC subunit to bind to mitotic ... with default parameters except for the number of species...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@PatrickJS @alujs 抱歉 我误解了@PatrickJS Sorry I misunderstood @PatrickJS When I finish, I will make a PR
I want to have a try