timings
timings copied to clipboard
Implemented detection of outdated or not
This is the first time I've used React, I know this isn't clean.
If someone who is good in JS would like to clean it up / make some changes, I'd be more than grateful.
I have made the changes I think you asked for. If I missed something, I apologize. I noticed a flaw in the initial attempt where it would only set the latest stuff if they didn't have it cached. Now it's split up to
- Check if the regex matches
- Check if they have latest build number cached and use that
- Get latest build if it's not cached
- If on latest or not, set the flags