1
0
Fork 1
forked from fedi/mastodon
mastodon/app/javascript
Sasha Sorokin 61c07c3731
Replace repetitive blurhash code with component (#14267)
This commit replaces all unnecessarily repeated code for decoding and
embedding blurhash canvases with separate component - <Blurhash>.

Under the hood Blurhash component will use effect dependent on its
props. This gives a few benefits: it will only be re-rendered whenever
the hash or width/height/dummy props update, and will not render if
canvas won't get to the final DOM, because then effect won't fire,
which prevents weird bugs like #14257.
2020-07-09 13:01:30 +02:00
..
fonts Redesign the landing page, mount public timeline on it (#4122) 2017-07-11 15:27:59 +02:00
images Fix keybase config serializer (#13742) 2020-05-12 15:28:29 +02:00
mastodon Replace repetitive blurhash code with component (#14267) 2020-07-09 13:01:30 +02:00
packs Fix lock icon not being shown when locking account in profile settings (#14190) 2020-07-01 13:51:50 +02:00
styles Fix account note border radius (#14251) 2020-07-07 13:46:21 +02:00