worker-pastebin/src/web
Peter Cai 2b42e19ecb
fix transition between pages by using a custom LinkButton
by replacing everything with a `<Redirect/>` on switching, it produces a
short blink while the new page appears. But we cannot just use `<Link/>`
because an `<a>` cannot be "disabled". Wrapping `Link` around `button`
is invalid HTML5.

Instead, hack together a custom component for the job.
2020-02-19 19:17:57 +08:00
..
assets basic style for the home component 2020-02-17 21:14:05 +08:00
styles FileDecrypter: add a link to home page 2020-02-19 16:45:58 +08:00
util fix transition between pages by using a custom LinkButton 2020-02-19 19:17:57 +08:00
binaryUpload.coffee fix transition between pages by using a custom LinkButton 2020-02-19 19:17:57 +08:00
codeViewer.coffee fix transition between pages by using a custom LinkButton 2020-02-19 19:17:57 +08:00
fileDecrypter.coffee fix transition between pages by using a custom LinkButton 2020-02-19 19:17:57 +08:00
fileViewerDispatcher.coffee implement file decryption 2020-02-19 11:03:57 +08:00
home.coffee home: do not re-render child when parent is re-rendered 2020-02-19 11:17:16 +08:00
index.coffee contentEditable: support code highlighting 2020-02-18 10:33:12 +08:00
pastebin.coffee fix transition between pages by using a custom LinkButton 2020-02-19 19:17:57 +08:00