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

fix: accessing child's update function #235

Conversation

hichem-dahi
Copy link
Contributor

Add update function to impl property even if the script tag is empty.

Fixes #103

@hichem-dahi
Copy link
Contributor Author

@tipiirai, can you help me add a test for this case?

@nobkd nobkd requested a review from tipiirai March 22, 2024 15:02
@tipiirai tipiirai merged commit 3ecca60 into nuejs:master Mar 25, 2024
3 checks passed
@tipiirai
Copy link
Contributor

Looks solid.

If anything, I'd like to have a solid server-side test runner for the client-side Nue JS library. Currently the test suite is client-side only and thus not ideal. Cannot be run with GitHub actions etc. I know, It's quite a big task to implement — but it's something that has to be done at some point when the single-page application pieces start to become relevant.

Ideally the suite should be super lightweight based on a tiny JavaScript test library and not those monster Chromleess browser/server/cloud services.

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

Successfully merging this pull request may close these issues.

child component Does not contain script $refs update is undefined
2 participants