Posted under React & Web
Permalink
Tags Gotcha, Tips, Tutorial
Various points/gotchas worthy of note, all discovered whilst learning about React…
1/ You can define components in their own classes – to do this you extend the component class and define the render method. However, this is now considered legacy in favour of just writing a function which returns the necessary jsx/tsx. This is discussed here, and the migration of components from legacy classes to using functions instead is discussed here.
Comments Off on React – Framework Points to Note