matrix-public-archive/shared
Eric Eastwood f738dbc1da
Stop Hydrogen from running in the background after we get our SSR HTML render data (#36)
We now run the Hydrogen render in a `child_process` so we can exit the whole render process. We still use the `vm` to setup the browser-like globals. With a `vm`, everything continues to run even after it returns and there isn't a way to clean up, stop, kill, terminate the vm script or context so we need this extra `child_process` now to clean up. I don't like the complexity necessary for this though. I wish the `vm` API allowed for this use case. The only way to stop a `vm` is the `timeout` and we want to stop as soon as we return.

Fix https://github.com/matrix-org/matrix-public-archive/issues/34
2022-07-05 17:30:52 -05:00
..
lib Add lightbox support and Hydrogen URL hashes relative to the room (#12) 2022-06-08 14:03:36 -05:00
.eslintrc.json Stop restarting server when the client bundle updates 2022-02-15 17:30:30 -06:00
4-hydrogen-vm-render-script.js Stop Hydrogen from running in the background after we get our SSR HTML render data (#36) 2022-07-05 17:30:52 -05:00
ArchiveView.js Add lightbox support and Hydrogen URL hashes relative to the room (#12) 2022-06-08 14:03:36 -05:00
CalendarView.js Make sure input value is zero padded to parse properly 2022-02-18 12:34:21 -06:00
RightPanelContentView.js Add month/year selector and use UTC date functions 2022-02-17 20:45:47 -06:00