Noopur Ramakant Phalak
Noopur Ramakant Phalak
@kingsingh21 Try changing the ganache URL to `http://0.0.0.0:8545` and the ganache chain id to `1337` and then pass these updated values in in your code. That should resolve your issue.
@kingsingh21 In the screenshot you shared, the `RPC SERVER` url is `http://172.29.16.1:7545`. Change this to match your ganache URL you are using in the code i.e. `http://0.0.0.0:8545` and everything should...
@Tita40 Well, Atom repositories will be archived anyway after 15th December, 2022. So, no sweat...!!!
@JoviDeCroock does this also work if we have a global state and we are using the `useContext` hook to get the signal?
@XantreGodlike Will this hook work in react?
@XantreGodlike I am asking specifically for state derived from `useContext`
@XantreGodlike Would you recommend defining signals and effects in a new JS file and exporting the signals to be used by multiple files instead of passing it to the Context...
So how do I get the updated state from useContext for useComputed or useSignalEffect to work? Is there any way to subscribe to signal changes in those hooks?
> ```tsx > import { useLinkedSignal } from '@preact-signals/utils/hooks' > > const Child = () => { > const sig = useLinkedSignal(useContext(Ctx)) > // will not update, will be 2...
I tried that, still doesn't work