Closed ctmm closed 5 years ago
@jurekbarth (and everyone else):
The proposed implementation of overwriting logic works but I couldn't find a way to get it working as a HOC. You can't use refs with functional components.
Does anyone have input on how to achieve a more elegant solution?
@jurekbarth @marwesfur @tiagomapmarques
I may have reached an interesting solution for the hoc by means of forwardref
. Please let me know your thoughts, when you find the time
Solves #2
since it is an example implementation and not only a poc. shoudnt we update it @SheepFromHeaven?
@timomayer I agree, but not in this sprint. This is not a production ready critical issue. So I will create an issue and merge this PR
React app POC:
Please remember to symlink the biotope package into the create react app POC before running the demo:
yarn link
;cd
intoexample/using-react
and runyarn link biotope
Closes #2