Forgetting is not a problem. Given all the churn in the js world lately it feels like I’m re-earning a CS degree every 3 months anyway.
Skipping 3 years you wouldn’t miss anything, just read up on the latest and you are good to go.
If you are lucky, the PR you submitted to some sleeping library, months ago, might have finally been accepted when you get back.