Skip to content

"previousComponent" is never assigned a value #3270

Answered by marvinhagemeister
RRDAWLX asked this question in Q&A
Discussion options

You must be logged in to vote

I wouldn't say it's a bug since it's an internal value that isn't part of any public API and setting or not setting it doesn't change the execution in any way for users. It will probably be eliminated by terser when compiling preact during the publish step.

Nonetheless, as you've found out it looks like dead weight and something we can remove. Would you be open to file a PR for that?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@RRDAWLX
Comment options

Answer selected by RRDAWLX
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