r/webdev • • Oct 07 '20

Lazy Loading in React

https://www.loginradius.com/engineering/blog/lazy-loading-in-react/
12 Upvotes

5 comments sorted by

8

u/geewizwow Oct 07 '20

- Class component
- Cryptic variable naming
- Nested ternaries

big ooft

2

u/[deleted] Oct 07 '20

C.? -><= ? this.C === ?

1

u/Disgruntled__Goat Oct 07 '20

I don’t do React so correct me if I’m wrong, but the crux of the article seems to be just installing some other library to do the lazy loading for you.

1

u/uneditablepoly Oct 07 '20

Suspense is part of React, so it seems to be introducing the feature to readers (though not very well in my opinion).

1

u/uneditablepoly Oct 07 '20

Yeah, and using HoC over hooks. This seems a bit dated.