Functional components with React are quite difficu...
# javascript
m
Functional components with React are quite difficult. Functional components are basically top-level properties in files. Now if one component wants to extend another you unfortunately run into that issues: https://youtrack.jetbrains.com/issue/KT-25796
Workaround: Use lazy delegation.
Nope, breaks HOCs. I’m done for today 🤬