feat(core): export signalGetFn from signal primitives#60497
feat(core): export signalGetFn from signal primitives#60497mturco wants to merge 1 commit intoangular:mainfrom
Conversation
thePunderWoman
left a comment
There was a problem hiding this comment.
LGTM
reviewed-for: primitives, public-api
|
@mturco it looks like the FYI, Angular is using https://github.com/angular/angular/blob/main/packages/core/primitives/signals/src/signal.ts#L57-L60 which seems to have the same logic as Would love to know more about the intention / other possibilities here. |
|
@pkozlowski-opensource the use case here is related to go/wiz:devtools-reactive-nodes. We're using the recently added We could pass |
3f8b79b to
a6c10df
Compare
|
@pkozlowski-opensource this has been updated as discussed to have |
This updates `createSignal` to use `signalGetFn` to define the signal getter and exports `signalGetFn` from the shared signal primitives.
a6c10df to
d21005e
Compare
pkozlowski-opensource
left a comment
There was a problem hiding this comment.
LGTM
Reviewed-for: public-api
Reviewed-for: primitives
|
TESTED=see above presubmit (TGP not necessary for new code) |
|
caretaker note: failure is unrelated. This is ready to merge. |
|
This PR was merged into the repository by commit a4bad8d. The changes were merged into the following branches: main |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |


This exports
signalGetFnfrom the shared signal primitives which follows suit fromsignalSetFnandsignalUpdateFn(both are already exported).