Thanks for your comment. Yes, an issue with 1. caused me to consider 2. - in any case, I found a work around for 1., but didn't want the thought go to waste.
Also thanks for the hint, I changed the code to now memoize the component.
I did not yet publish a package, but wanted to publish this a POC. I'll have a look into the wrapper structure some time later.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks for your comment. Yes, an issue with 1. caused me to consider 2. - in any case, I found a work around for 1., but didn't want the thought go to waste.
Also thanks for the hint, I changed the code to now memoize the component.
I did not yet publish a package, but wanted to publish this a POC. I'll have a look into the wrapper structure some time later.