Is Jsstore treeshakable? #324
-
Question in title |
Beta Was this translation helpful? Give feedback.
Answered by
ujjwalguptaofficial
Jun 9, 2023
Replies: 2 comments
-
No - JsStore has been created thinking about using it in worker and that's why all of the logic is inside a worker file. That's why it can not be treeshakable - it handles all the web worker communication and based on the communication it executes code which are like everythings are tightly packed. I hope this clearifies. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Septias
-
Okay, thanks |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No - JsStore has been created thinking about using it in worker and that's why all of the logic is inside a worker file. That's why it can not be treeshakable - it handles all the web worker communication and based on the communication it executes code which are like everythings are tightly packed.
I hope this clearifies.