-
-
Notifications
You must be signed in to change notification settings - Fork 68
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
DEV - Remove Pins from React Redux State #1865
Comments
Changing title again. We can go further from just removing the non-performant loop and simply remove pins from redux completely. |
Hey @efrenmarin45 ! Please leave a comment with the following items:
|
I would like to touch base with you @traycn when you get the chance about what I'm coming across and get your thoughts on my proposed solution before this weeks meeting if possible. |
Ticket Check In w/ leads about #18654:30pm - 5:30pm Notes
Action Items
Resources |
ETA 2/10 |
This ticket appears to be unblocked. Moving back to in-progress. |
@ryanfchase @traycn Replaced the pin check (which was not initializing) with a neighborhood council ID so the component will render when the NC has changed. I also tested the removal of the pin check and Sagas involving I did see that some of the sagas are not being used, |
IIRC this ticket needs more work before it gets review, due to the prettier issue, yes? Moving back to In-Progress.
|
Hi @efrenmarin45, thank you for your update above. Please leave a comment with the following items:
|
Hi Efren, this is the template I want teams to use for their weekly updates. You can always add more info to the items below 1-4, which are the required minimum. Instructions
|
Progress: Need to revert changes, undo formatting, and reapply changes to force push pr. |
Left my review here: Since I have left another review, please provide another update for us: Instructions
|
Overview
We need to relegate storage of SR request data to Mapbox, and remove it from React Redux, since it is redundant and does not serve any functional purpose
Action Items
Fix non-performant loop in MapContainer (LOC 114)
componentDidUpdate
to remove comparison of pins in props. Instead, check to see if the selected NC has changedRemove Pins from Redux
GET_PINS_SUCCESS
andGET_PINS_FAILURE
from the Data reducergetPinsSuccess
andgetPinsFailure
from our Redux sagasOptional
Resources
I had documented load times under various filter criteria on this ticket. We'll want to know if removing pins from Redux state will improve performance. See measurements in comments here:
The text was updated successfully, but these errors were encountered: