Closed hangy closed 2 years ago
I cannot test this right now, but this approach (in general) should fix the linked issue.
I just noticed that #85 tackles the same issue in a bit different way. Feel free to choose whichever is the better approach. 🙂
Thanks for your help @hangy ! We decided to go for the fix in #92 but your input helped to evaluate the options. New release coming soon!
componentDidMount()
is called once for each component. We can use it to initialize theILocationService
, but theworkItemUrl
needs to be evaluated for each work item, so it has now been moved to therender()
method.Fixes #88