-
-
Notifications
You must be signed in to change notification settings - Fork 2
🚀 Cache lints #218
Copy link
Copy link
Open
Labels
good first issueOTHER: An issue that is good for first-time contributorsOTHER: An issue that is good for first-time contributorshelp wantedOTHER: An issue that needs help from the communityOTHER: An issue that needs help from the community⏳ 2EFFORT: An issue requiring a low effortEFFORT: An issue requiring a low effort✨ featureTYPE: An enhancement or a new featureTYPE: An enhancement or a new feature🚀 performanceTYPE: A code change that improves performanceTYPE: A code change that improves performance🚦 readySTATUS: An issue that have been reproduced, reviewed, estimated, and is ready to be worked onSTATUS: An issue that have been reproduced, reviewed, estimated, and is ready to be worked on🚩 lowPRIORITY: An issue that is not urgentPRIORITY: An issue that is not urgent
Milestone
Metadata
Metadata
Assignees
Labels
good first issueOTHER: An issue that is good for first-time contributorsOTHER: An issue that is good for first-time contributorshelp wantedOTHER: An issue that needs help from the communityOTHER: An issue that needs help from the community⏳ 2EFFORT: An issue requiring a low effortEFFORT: An issue requiring a low effort✨ featureTYPE: An enhancement or a new featureTYPE: An enhancement or a new feature🚀 performanceTYPE: A code change that improves performanceTYPE: A code change that improves performance🚦 readySTATUS: An issue that have been reproduced, reviewed, estimated, and is ready to be worked onSTATUS: An issue that have been reproduced, reviewed, estimated, and is ready to be worked on🚩 lowPRIORITY: An issue that is not urgentPRIORITY: An issue that is not urgent
Is This New?
What?
Save lints (for spell/grammar checking) to local storage when
rememberInputTextistrueto speed up page loads. Investigate whether there is any benefit to computing counts again when the page loads. Otherwise, skip this computationRefer to the existing implementation for saving input text using persistent nanostores as this will be very similar.
Acceptance Criteria:
$inputTextchanges and$rememberInputTextistrue$rememberInputTextis changed totrue$rememberInputTextis changed totrueWhy?
Restoring lints from local storage should be noticeably faster than computing them again for large input strings, improving UX.
Alternatives
No response