<?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>Toggling between 2 react portlets : refresh issue</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=118355232" />
  <subtitle>Toggling between 2 react portlets : refresh issue</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=118355232</id>
  <updated>2026-04-04T10:48:35Z</updated>
  <dc:date>2026-04-04T10:48:35Z</dc:date>
  <entry>
    <title>RE: Toggling between 2 react portlets : refresh issue</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118357904" />
    <author>
      <name>Iván Zaera Avellón</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118357904</id>
    <updated>2020-01-28T13:15:12Z</updated>
    <published>2020-01-28T13:15:12Z</published>
    <summary type="html">Hey Yahia:&lt;br /&gt;I&amp;#39;m already investigating this and it looks like an issue with adaptation, so I have created this issue to have a look at it -&amp;gt; &lt;a href="https://github.com/liferay/liferay-js-toolkit/issues/498"&gt;https://github.com/liferay/liferay-js-toolkit/issues/498&lt;/a&gt;&lt;br /&gt;Thx for reporting it :-).</summary>
    <dc:creator>Iván Zaera Avellón</dc:creator>
    <dc:date>2020-01-28T13:15:12Z</dc:date>
  </entry>
  <entry>
    <title>RE: Toggling between 2 react portlets : refresh issue</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118356308" />
    <author>
      <name>Yahia Alaoui</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118356308</id>
    <updated>2020-01-28T11:16:25Z</updated>
    <published>2020-01-28T11:16:25Z</published>
    <summary type="html">After further investigation, it seems it is related to &amp;#34;yo liferay-js:adapt&amp;#34; vs  &amp;#34;yo liferay-js&amp;#34;. When I created directly a simple portlet with &amp;#34;yo liferay-js&amp;#34; then built and deployed the portlet into LR. Whenever I come back to this portlet, it shows correctly without the need to refresh.However, if I create a standard react app with &amp;#34;npx create-react-app my-app&amp;#34;, then convert it to LR using &amp;#34;yo liferay-js:adapt&amp;#34;, the generated portlet has the same refresh issue.Any idea?</summary>
    <dc:creator>Yahia Alaoui</dc:creator>
    <dc:date>2020-01-28T11:16:25Z</dc:date>
  </entry>
  <entry>
    <title>Toggling between 2 react portlets : refresh issue</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118355231" />
    <author>
      <name>Yahia Alaoui</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118355231</id>
    <updated>2020-01-28T09:46:47Z</updated>
    <published>2020-01-28T09:46:47Z</published>
    <summary type="html">Hello, I have created 2 react portlets and adapted them to Liferay (7.2 ga1) with &amp;#34;yo liferay-js:adapt&amp;#34;. Then I have added them in their respective pages. The 2 portlets shows ok. The first portlet is displayed, then when I click on the menu to go the second, the 2nd portlet is displayed correctly. The issue is when I click on the menu to get back to the first portlet, the first portlet is displayed just blank.However when I refresh the url, the portlet does show correctly.And nothing special in the log neither Liferay log, nor in the chrome log.Any idea please?</summary>
    <dc:creator>Yahia Alaoui</dc:creator>
    <dc:date>2020-01-28T09:46:47Z</dc:date>
  </entry>
</feed>
