<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Emeka Ndefo</title>
    <description>The latest articles on DEV Community by Emeka Ndefo (@emexrevolarter).</description>
    <link>https://dev.to/emexrevolarter</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F118094%2F26ddc3b7-f517-41c6-8c83-d3d8bba9487b.jpg</url>
      <title>DEV Community: Emeka Ndefo</title>
      <link>https://dev.to/emexrevolarter</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/emexrevolarter"/>
    <language>en</language>
    <item>
      <title>Websocket not working in React.Js production build</title>
      <dc:creator>Emeka Ndefo</dc:creator>
      <pubDate>Mon, 04 Apr 2022 05:41:18 +0000</pubDate>
      <link>https://dev.to/emexrevolarter/websocket-not-working-in-reactjs-production-build-4gkf</link>
      <guid>https://dev.to/emexrevolarter/websocket-not-working-in-reactjs-production-build-4gkf</guid>
      <description>&lt;p&gt;I created a react App which talks to a node back-end. Everything works fine in development mode. The connection between the front-end and back-end is made through websocket.&lt;/p&gt;

&lt;p&gt;Most interesting thing is, that after doing yarn build to create the production build of the app, all the pages work fine. The only thing is that, the page that integrates connection with the back-end is returning error when I inspected it in the browser. I am using Apache Server to run the build version of the app on localhost.&lt;/p&gt;

&lt;p&gt;I am using Apache server since python server throws errors on page refresh.&lt;/p&gt;

&lt;p&gt;Below is the screenshot. As you can see, node server command, return the expected response from the backend app. The structure of the app is also shown; revealing the relationship between the front-end (smartschool and smartresult) and back-end (smartapi). Only the smartresult makes the request to back-end. How do I resolve this connection problem? Any help will be appreciated. Thank you.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--xyOK54LN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uu5eb50s5ep53hy43817.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--xyOK54LN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uu5eb50s5ep53hy43817.png" alt="Image description" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>react</category>
      <category>node</category>
    </item>
    <item>
      <title>How do I make react app bundled in electron see the images</title>
      <dc:creator>Emeka Ndefo</dc:creator>
      <pubDate>Sat, 14 Dec 2019 07:50:13 +0000</pubDate>
      <link>https://dev.to/emexrevolarter/how-do-i-make-react-app-bundled-in-electron-see-the-images-53c0</link>
      <guid>https://dev.to/emexrevolarter/how-do-i-make-react-app-bundled-in-electron-see-the-images-53c0</guid>
      <description>&lt;p&gt;I build a react app which is currently hosted on evagiantgroups.com; and works as expected. Then, I bundled in in electron, but it only works fine on first load (i.e, before react router actions is set in; any clicks on any link). Once I navigate the app, some images won't show again, just like in the photos.&lt;/p&gt;

&lt;p&gt;I tried debug and found out the below:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;on first load:&lt;br&gt;
file:///C:/Users/MY_PC_NAME/AppData/Local/Programs/app-evagiantgroup/resources/app.asar/build/static/media/thumb_d2.db671513.png&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;on reload or navigation:&lt;br&gt;
file:///C:/static/media/thumb_d2.db671513.png&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Please kindly help. Thank you.&lt;/p&gt;

</description>
      <category>react</category>
      <category>electron</category>
    </item>
    <item>
      <title>React Native App not opening</title>
      <dc:creator>Emeka Ndefo</dc:creator>
      <pubDate>Tue, 27 Nov 2018 08:56:01 +0000</pubDate>
      <link>https://dev.to/emexrevolarter/react-native-app-not-opening-34d6</link>
      <guid>https://dev.to/emexrevolarter/react-native-app-not-opening-34d6</guid>
      <description>&lt;p&gt;I made a switch to React Native this month from Angular 7. My major attraction to this fascinating framework is the fast interaction of components (powered by babel for jsx) unlike the .ts controlled HTML templates in Angular 7 which sometimes need a refresh to update the GUI. The capability of HTML in js code is the peak of this framework transition.&lt;/p&gt;

&lt;p&gt;I hope to find the relevant help I need here.&lt;/p&gt;

&lt;p&gt;However, I am battling with the difficulty to create apk file from my React Native project using Android Studio. I succeeded in creating a signed apk which was installed on my Techno W2 device without any error; but the app isn't opening, and has no visible launch icon too. Although it is listed in the installed apps in settings. After installing, the 'open' button is inactive.&lt;/p&gt;

&lt;p&gt;Any help on this will be greatly appreciated, as I cannot continue my React Native development unless this is resolved. I want to be creating my apk files locally, and not using Expo services which produce huge file sizes.&lt;br&gt;
Note: My React Native Project is generated by 'expo init project-name', then ejected by 'expo eject' in order to regenerate the android &amp;amp; iOS directories.&lt;/p&gt;

&lt;p&gt;Thank you.&lt;/p&gt;

</description>
      <category>reactnative</category>
    </item>
  </channel>
</rss>
