lemmy-ui/src
matc-pub b7fe70d8c1
Render more while reloading only some resources (#2480)
* AdminSettings remove unused currentTab state

* Fix amAdmin check in reports fetchInitialData

* Make CreatePost render earlier

* Include children of auth and anonymous guard in first render.

* Convert DidMount to WillMount where things don't depend on the DOM

`componentDidMount` is called after the first render. A lot of
components used it to call `setState`, which causes a second render.

* Keep route components mounted during same route navigation

Not sure why this wasn't the case without this change. The only
difference here is that the same array is reused in every render.

* Disable mounted same route navigation by default

* Enable mounted same route navigation for some routes

* Render more while loading

* Prettier markup

* Make Post use query params and reload comments independently

* Fix issue with <Prompt /> for forms that remain mounted after "leaving".

* Make Search not rerender the results on every keystroke

* Discard old requests

These used to (mostly) arrive at the old already unmounted components.
Now they would render briefly until the latest response is received.

* Move non breaking space to modlog

* Make show optional for modals
2024-05-22 15:46:13 -04:00
..
assets Fix video thumbnail override issue (#2474) 2024-05-21 14:25:21 -04:00
client Make confirm popup for adult consent (#2419) 2024-04-18 19:54:16 -04:00
server Content warning fixups (#2432) 2024-04-22 11:05:54 -04:00
shared Render more while reloading only some resources (#2480) 2024-05-22 15:46:13 -04:00