This isn't a satisfying explanation, since "putting text on the screen" can be a pretty complicated task. My limited understanding of web development is that the conceptual model is actually a decent bit more complicated than non-web-developers give credit, and React seems like a prime (if somewhat self-inflicted) example of that.
A trivial example of someone being an expert in 3 years is being the original creator of a thing. Time is a sufficient factor, but I don't think it's a necessary one (and we acknowledge this implicitly by acknowledging that people learn at different rates).