You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**app.SendAsyncInitiation()**: Call this after updating atoms from goroutines to trigger UI re-renders. Don't call at high frequency - consider batching updates.
1059
-
1060
1053
**Functional setters**: Always use atom.SetFn() when updating state from goroutines to avoid race conditions:
1061
1054
1062
1055
```go
@@ -1364,4 +1357,3 @@ Key points:
1364
1357
- Use app.UseAfter instead of time.AfterFunc for delayed operations
1365
1358
- Always respect ctx.Done() in app.UseGoRoutine functions to prevent goroutine leaks
1366
1359
- All timer and goroutine cleanup is handled automatically on component unmount or dependency changes
1367
-
- Call app.SendAsyncInitiation after state updates to trigger re-rendering
0 commit comments