Skip to content

The compile method stops the animation animation #2308

Answered by wooorm
New-King asked this question in Q&A
Discussion options

You must be logged in to vote

I have no clue what your examples mean? This isn’t real code? What is Loading? Why do you use axios?

Is this about how to use await in React?

If my mdx has 20,000 lines

Sorry but what why how do you expect to compile 20k lines of MDX on the client in the same thread and think it’s all going to run smoothly?
It is intended that code uses as much of a thread as possible.
If you want different threads, use different threads!

That’s how code works: if you write an infinite loop, the entire thread is blocked, because it uses the entire thread.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@New-King
Comment options

@wooorm
Comment options

@New-King
Comment options

Answer selected by New-King
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants