Search
Star
1.4k
Feedback
Setup for Free
S
SolidJS
โข
2y ago
โข
6 replies
qdwang
How to watch only one signal in createEffect?
createEffect(() => { console.log(a(), b()); });
createEffect(() => { console.log(a(), b()); });
a
a
and
b
b
are from two signals
,
createEffect
createEffect
will watch both of them
.
Is it possible to watch only
a
a
while access the value of
b
b
?
SolidJS
Join
Solid is a declarative reactive Javascript library for creating user interfaces.
12,267
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
createEffect
(()
=>
{
console.
log
(
a
(),
b
());
});
createEffect
(()
=>
{
console.
log
(
a
(),
b
());
});
Similar Threads
How to subscribe a signal using createEffect?
S
SolidJS / support
4y ago
[solved] createEffect signal is Undefined
S
SolidJS / support
3y ago
Createeffect not working in component where signal was defined
S
SolidJS / support
3y ago
createEffect in loops
S
SolidJS / support
3mo ago