Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> A React class component from 10 years ago will still work in React today perfectly well,

This isn't true.

ComponentWillMount and related methods were deprecated and then removed.

Yes, they allowed an escape hatch of UNSAFE_ComponentWillMount etc, but that still requires work to make it compatible, so it definitely doesn't "[work] perfectly well".



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: