CSHub
CSHub copied to clipboard
Redo post structure
Right now, the post structure is very hacky.
For one, everything is one component and everything is watched to show the right things. This can be much improved by not doing that.
Also, we should decrease the number of requests dramatically. Now, opening a list of posts sends about 10 requests. Then clicking on one sends another 2. This is bad and can be improved by actually using different components and merging some functionality.
Another thing we could do is using keep-alive to cache components and making it even snappier