Using a framework like react constrains developers in a different way. React isnt simply a convention like the linked example.
React is a particularly interesting one because it is still flexible enough that there is still a lot of reliance on developers actively sticking to the conventions recommended.