-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
move worker availability request to rtk query #73
move worker availability request to rtk query #73
Conversation
9b86e8b
to
a0af782
Compare
I also removed a lot of console.log statements which were polluting the console and switched out console.log for console.error in the catch blocks. |
a0af782
to
200be35
Compare
Hmm, when I wanted to try it out I ran into this issue: welldone-software/why-did-you-render#85 Can you reproduce these issues or are they related to my setup? |
whoops, yes, I'm also having those issues. I'm going to resolve them this weekend. |
Alright, I could fix the semantic-ui issue by force cleaning the npm cache. Not sure why that happened. |
d8a5d44
to
9807cc7
Compare
managed to fix it, mostly. Still have some components to migrate, but getting there! |
…quest * replaced connected-react-router with redux-first-history as connected-react-router appears to be no longer maintained and that's there the bug originated from * refactored Worker-Availability component * updated dependencies
Signed-off-by: Daniel Einars <[email protected]>
Signed-off-by: Daniel Einars <[email protected]>
Signed-off-by: Daniel Einars <[email protected]>
Signed-off-by: Daniel Einars <[email protected]>
Signed-off-by: Daniel Einars <[email protected]>
a2fa5ba
to
a00730f
Compare
right, all changes should be working now. I still don't know why the "finished" flashes twice when logging in for the first time though |
Signed-off-by: Daniel Einars <[email protected]>
Signed-off-by: Daniel Einars <[email protected]>
Signed-off-by: Daniel Einars <[email protected]>
right, fixed everything. Also, we have an upgrade to react-18 in here now! |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Awesome! Works as expected :) |
it all looks cleaner now, but the app is still re-rendering everytime the requests are made, even if the returned data is identical.