Lazy VStack OnAppear Send To Action laggy -- TCA Version - 1.15.0 #3466
Unanswered
Little-tale
asked this question in
Q&A
Replies: 1 comment 1 reply
-
@Little-tale Because we don't consider this to be a bug with the library, but rather a matter of library usage and optimization, I'm going to convert to a discussion. If you'd like, please share a project that reproduces a noticeable issue and folks can try to make specific suggestions on how to work around the issue. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
위와 같은 코드에서
액션을 보내면 렉이 걸립니다.
Scrolling in the same code as above
If you send an action, it will lag.
처음에는 하나의 Action 으로 했었으나 렉이 있어서 액션을 분리하고 ".send" 후 ".run{}" 을 통해 분리하였음에도 문제가 발생합니다.
At first, I did it as one action, but there was a lag, so I separated the action and then separated it through ".send" and then ".run{}", but the problem still occurs.
최소한의 "Action"을 보내기 위해 View에서도 한번만 "Action"을 보내기 위해 조치하였으나 부드럽게 스크롤 되다가 한번씩 끊김 현상이 발생합니다.
View also tried to send "Action" only once in order to send the least "Action", but it scrolls smoothly and then breaks down once in a while.
위와 같이, onAppear -> Task 로 바꾸어도 현상은 동일합니다.
혹시 다른 방법이 있습니까?
As above, the phenomenon is the same even if you switch to onAppear -> Task.
Is there any other way?
Checklist
main
branch of this package.Expected behavior
It's my prediction, but I think it's an issue caused by Reducer operating on MainActor.
Actual behavior
위와 같습니다.
It's the same as above.
Reproducing project
No response
The Composable Architecture version information
1.15.0
Destination operating system
No response
Xcode version information
Xcode 16.0
Swift Compiler version information
No response
Beta Was this translation helpful? Give feedback.
All reactions