Right now the rankings require you to add a case to an ever-growing switch statement that passes data to the table rendering funcs. It can be made easier to maintain by getting that data from each file in a _data/rankings folder.
There are a lot of moving parts in ranking.js and I'm 100% sure that it can be cleaned up to be more efficient and maintainable.
Right now the rankings require you to add a case to an ever-growing switch statement that passes data to the table rendering funcs. It can be made easier to maintain by getting that data from each file in a _data/rankings folder.
There are a lot of moving parts in ranking.js and I'm 100% sure that it can be cleaned up to be more efficient and maintainable.