<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Improving Loading-Speed of ReactJS-Portlets</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=119115992" />
  <subtitle>Improving Loading-Speed of ReactJS-Portlets</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=119115992</id>
  <updated>2026-04-04T14:57:38Z</updated>
  <dc:date>2026-04-04T14:57:38Z</dc:date>
  <entry>
    <title>RE: Improving Loading-Speed of ReactJS-Portlets</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119127177" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119127177</id>
    <updated>2020-05-08T12:58:19Z</updated>
    <published>2020-05-08T12:58:19Z</published>
    <summary type="html">Hmm, I tested it now with 7.2 DXP and 7.3 CE, the plain npm portlet loads quite fast for me.&lt;br /&gt;Question: When you switch between pages, is it faster or the same? I mean, create two pages, put the portlet on page1.  Refresh page. Click page 2, click again page 1. Is it still slow?&lt;br /&gt;One difference I see is the page size. My testpage here has 2.8 MB, yours has 16.  For some reason, your page is really heavy. My guess here is that your problem is more general, not specific to the React Portlet.</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2020-05-08T12:58:19Z</dc:date>
  </entry>
  <entry>
    <title>RE: Improving Loading-Speed of ReactJS-Portlets</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119122651" />
    <author>
      <name>Fredi B</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119122651</id>
    <updated>2020-05-08T10:40:12Z</updated>
    <published>2020-05-08T10:40:12Z</published>
    <summary type="html">I am using the sample code of Liferays React Widget.&lt;br /&gt;&lt;a href="https://help.liferay.com/hc/en-us/articles/360029028051-Developing-a-React-Application"&gt;https://help.liferay.com/hc/en-us/articles/360029028051-Developing-a-React-Application&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;Just choose &amp;#34;Yes&amp;#34; on &amp;#34;Do you want to create sample code&amp;#34;-Option.So it&amp;#39;s a really basic React Widget (added for testing two different pages inside the portlet with routes - nothing more) and for my understanding should not take that much time loading.&lt;br /&gt;&lt;br /&gt;&lt;a href="https://imgur.com/a/gssHo7T"&gt;https://imgur.com/a/gssHo7T&lt;/a&gt;</summary>
    <dc:creator>Fredi B</dc:creator>
    <dc:date>2020-05-08T10:40:12Z</dc:date>
  </entry>
  <entry>
    <title>RE: Improving Loading-Speed of ReactJS-Portlets</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119120877" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119120877</id>
    <updated>2020-05-08T10:32:50Z</updated>
    <published>2020-05-08T10:32:50Z</published>
    <summary type="html">Can you measure it with the browser developer console?&lt;br /&gt;Can you create a minimal example and post it here or on github? Maybe creating the &amp;#34;minimal&amp;#34; example already helps you, because it might help you to narrow it down.&lt;br /&gt;If you use the React code on a simple html page, how does it behave? Is it also slow or much faster?</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2020-05-08T10:32:50Z</dc:date>
  </entry>
  <entry>
    <title>RE: Improving Loading-Speed of ReactJS-Portlets</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119121935" />
    <author>
      <name>Fredi B</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119121935</id>
    <updated>2020-05-08T09:21:40Z</updated>
    <published>2020-05-08T09:21:40Z</published>
    <summary type="html">Hi Christoph,&lt;br /&gt; &lt;br /&gt;on a Content-Page with multiple Fragments and a React Portlet between the React Portlet is loading noticable slower then all the other Fragments on the page. (Difference up to 2seconds)&lt;br /&gt;Of course loading the resources takes time but like that using React Portlets means we have to make sure that there are for example Placeholder-Previews or Loading-Circles to prevent the Elements on the Page from &amp;#34;jumping&amp;#34; after the React Portlet has its full height.&lt;br /&gt;Are there any advised tips or techniques to make React Portlets load faster?</summary>
    <dc:creator>Fredi B</dc:creator>
    <dc:date>2020-05-08T09:21:40Z</dc:date>
  </entry>
  <entry>
    <title>RE: Improving Loading-Speed of ReactJS-Portlets</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119117819" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119117819</id>
    <updated>2020-05-07T15:20:15Z</updated>
    <published>2020-05-07T15:20:15Z</published>
    <summary type="html">I am not really a React Portlet user, but did you measure, what is slow? Do the resources take a lot of time to be loaded?</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2020-05-07T15:20:15Z</dc:date>
  </entry>
  <entry>
    <title>Improving Loading-Speed of ReactJS-Portlets</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119115991" />
    <author>
      <name>Fredi B</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119115991</id>
    <updated>2020-05-07T13:50:18Z</updated>
    <published>2020-05-07T13:50:18Z</published>
    <summary type="html">Hello Liferay Friends,&lt;br /&gt;I hope you all are healthy and well in these quite crazy corona-times.&lt;br /&gt;Recently I tested out some use-cases for ReactJS-Portlets and noticed that they load quite slow (with Liferay Portal CE 7.2.1) .&lt;br /&gt;Are there any possibilities to improve loading speed of ReactJS-Portlets?&lt;br /&gt;Have a nice week,&lt;br /&gt;Fredi.</summary>
    <dc:creator>Fredi B</dc:creator>
    <dc:date>2020-05-07T13:50:18Z</dc:date>
  </entry>
</feed>
