Skip to content

Conversation

@karelhala
Copy link
Contributor

Description

When using the hook useLoadModule I can't specify import name and it imports by default whole module. This PR fixes it by introducing importName to this hook.

Also I've added option to pass generic type for this hook so anybody can type the import.

@karelhala karelhala requested a review from a team as a code owner November 5, 2025 13:41
@nx-cloud
Copy link

nx-cloud bot commented Nov 5, 2025

View your CI Pipeline Execution ↗ for commit 038786e

Command Status Duration Result
nx run test-app:serve ✅ Succeeded 1m 50s View ↗
nx run-many -t build ✅ Succeeded 1s View ↗
nx affected -t build ✅ Succeeded 34s View ↗
nx affected -t component-test --configuration=ci ✅ Succeeded 15s View ↗
nx affected -t test --configuration=ci ✅ Succeeded 11s View ↗
nx affected -t lint ✅ Succeeded 2s View ↗

☁️ Nx Cloud last updated this comment at 2025-11-05 13:48:00 UTC

@Hyperkid123 Hyperkid123 merged commit 0598005 into scalprum:main Nov 7, 2025
8 checks passed
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.

2 participants