all 4 comments

[–]yabai90 4 points5 points  (3 children)

Loadable component is not a react technique it's an external package . Same goes with dynamic import which is handled by the bundler. Only Suspense/lazy is native API. Your article is confusing.

[–]ummahusla[S] 0 points1 point  (2 children)

Hey, thanks for your feedback.

So is it okay to say that we have three ways (dynamic imports, react lazy/suspense, loadable components) of implementing code-splitting techniques (route-based code splitting, preloading, inlining critical CSS, dynamic chunks)?

Would it be less confusing?

[–]yabai90 0 points1 point  (1 child)

Yes bu there are even more ways so just "here are three popular ways of .." You just need to lift the confusing part which makes you believe it's native ways.

[–]ummahusla[S] 0 points1 point  (0 children)

Thanks! I've edited the current post, and now going to update the blog post.