My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more
How to use Webpack's new "magic comment" feature with React Universal Component + SSR

How to use Webpack's new "magic comment" feature with React Universal Component + SSR

Max Little's photo
Max Little
·Jun 13, 2017

PART 2: USING MAGIC COMMENTS TO CREATE THESE CHUNKS To put Webpack chunk names to use you need a component or package that lets you mark what is considered a chunk and when it is used. Calling import with a magic comment is the easy part.