Don't worry too much about becoming obsolete. Frontend web development is my field and it moves faster than any other single area of programming. I took 5 years off due to burnout and it only took me a month or two to get back up to speed from a technical perspective. Putting up with the bullshit interviews is another story. I freelance now.