Example 8 - use signal with side effect
Side effects mean code that calls an API or do any operation not related to the signal. for that, we can use an effect().
Count - 1000
Side effects mean code that calls an API or do any operation not related to the signal. for that, we can use an effect().
Count - 1000