<?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: Joshua</title>
    <description>The latest articles on DEV Community by Joshua (@randy_johnson).</description>
    <link>https://dev.to/randy_johnson</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%2F695493%2F1aabfda4-c673-4817-b0f7-ef40c44e03f0.png</url>
      <title>DEV Community: Joshua</title>
      <link>https://dev.to/randy_johnson</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/randy_johnson"/>
    <language>en</language>
    <item>
      <title>React Native Web View</title>
      <dc:creator>Joshua</dc:creator>
      <pubDate>Sun, 10 Mar 2024 08:17:01 +0000</pubDate>
      <link>https://dev.to/randy_johnson/react-native-web-view-1pia</link>
      <guid>https://dev.to/randy_johnson/react-native-web-view-1pia</guid>
      <description>&lt;p&gt;I am running a laravel app, and am trying to connect to  the app through a web view, using a url number.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;    &amp;lt;View style={{ flex: 1 }}&amp;gt;
      &amp;lt;WebView
        style={styles.webview}
        source={{uri: 'http://10.0.2.2/'}}
        javaScriptEnabled={true}
        domStorageEnabled={true}
        startInLoadingState={false}
        scalesPageToFit={true}
      /&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;But the screen is just yellow. Help&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Why cannot I not! Loopy Loops!</title>
      <dc:creator>Joshua</dc:creator>
      <pubDate>Tue, 06 Dec 2022 19:41:44 +0000</pubDate>
      <link>https://dev.to/randy_johnson/why-cannot-i-not-loopy-loops-4j64</link>
      <guid>https://dev.to/randy_johnson/why-cannot-i-not-loopy-loops-4j64</guid>
      <description>&lt;p&gt;Why is it I can do one and not the other! I am new to React coming from Laravel, PHP.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import React from 'react'
import Task from './Task'


const Tasks = ({ tasks, onDelete, onToggle }) =&amp;gt; {

    return (
        &amp;lt;div&amp;gt;
            {tasks.map((task) =&amp;gt; (
                &amp;lt;Task key={task.id} task={task} onDelete={onDelete} onToggle={onToggle} /&amp;gt;
            ))}
        &amp;lt;/div&amp;gt;
    )
}

export default Tasks

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import React from 'react'
import Task from './Task'


const Tasks = ({ tasks, onDelete, onToggle }) =&amp;gt; {

    function showTask(item, index) {
        &amp;lt;Task key={item.id} task={item} onDelete={onDelete} onToggle={onToggle} /&amp;gt;
    }

    return (
        &amp;lt;div&amp;gt;
            {tasks.forEach(showTask)}
        &amp;lt;/div&amp;gt;
    )
}

export default Tasks
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>javascript</category>
      <category>react</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
