<?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>Forem: Public Profile</title>
    <description>The latest articles on Forem by Public Profile (@lookfirst).</description>
    <link>https://forem.com/lookfirst</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%2F319108%2F7403c36f-703a-434f-9ac7-7af2d467d1da.jpeg</url>
      <title>Forem: Public Profile</title>
      <link>https://forem.com/lookfirst</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/lookfirst"/>
    <language>en</language>
    <item>
      <title>Metamask in a window</title>
      <dc:creator>Public Profile</dc:creator>
      <pubDate>Sat, 16 Jan 2021 23:02:17 +0000</pubDate>
      <link>https://forem.com/lookfirst/metamask-in-a-window-2o8k</link>
      <guid>https://forem.com/lookfirst/metamask-in-a-window-2o8k</guid>
      <description>&lt;p&gt;Metamask drives me up the wall. It is a huge UX in a tiny dropdown that closes any time you click away.&lt;/p&gt;

&lt;p&gt;To open it in a browser tab / window is easy in two steps:&lt;/p&gt;

&lt;p&gt;A: Window -&amp;gt; Extensions, grab the ID value.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--xxkLrMVg--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/uufp3vs25jtcpt0g1bg0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--xxkLrMVg--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/uufp3vs25jtcpt0g1bg0.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;B: Open a new tab / window and paste in a URL that looks like this.&lt;/p&gt;

&lt;p&gt;chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/home.html&lt;/p&gt;

&lt;p&gt;(Replacing the ID from the Extensions box with the URL above)&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Material UI + React Final Form = MUI-RFF (forms made easy)</title>
      <dc:creator>Public Profile</dc:creator>
      <pubDate>Mon, 20 Jan 2020 03:12:18 +0000</pubDate>
      <link>https://forem.com/lookfirst/material-ui-react-final-form-mui-rff-forms-made-easy-4a44</link>
      <guid>https://forem.com/lookfirst/material-ui-react-final-form-mui-rff-forms-made-easy-4a44</guid>
      <description>&lt;p&gt;In order to integrate &lt;a href="https://final-form.org/react"&gt;React Final Form&lt;/a&gt; with a UI component library such as &lt;a href="https://material-ui.com"&gt;Material UI&lt;/a&gt;, you'll need to create a thin wrapper that passes properties between MUI and RFF components. After searching around for who else has done this, you've stumbled across this project.&lt;/p&gt;

&lt;p&gt;Sadly, figuring out the nuances of passing properties across multiple components is non-trivial. It takes a lot of trial and error and hopefully you're writting tests along the way too (hahaha yea, right). Since you are probably in a rush and just want to get onto building features, this repo provides a set of modern and unit tested React components that make it easy to drop into your own Javascript or Typescript project as a small NPM dependency.&lt;/p&gt;

&lt;p&gt;Please try things out and review the code first. Take a look at the &lt;a href="https://lookfirst.github.io/mui-rff/"&gt;demo&lt;/a&gt;, &lt;a href="https://github.com/lookfirst/mui-rff/tree/master/example"&gt;demo source&lt;/a&gt;, &lt;a href="https://codesandbox.io/s/react-final-form-material-ui-example-tqv09"&gt;codesandbox&lt;/a&gt;, and the &lt;a href="https://github.com/lookfirst/mui-rff/tree/master/test"&gt;tests&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;One thing to note in the &lt;a href="https://lookfirst.github.io/mui-rff/"&gt;demo&lt;/a&gt; is the ability to control the react form rendering. This is what really motivated me to go with RFF. With a small &lt;a href="https://final-form.org/docs/react-final-form/types/FormProps#subscription"&gt;configuration tweak to RFF&lt;/a&gt;, it is easy to cut the number of renders down to the bare minimum. This improves performance significantly, especially with larger forms.&lt;/p&gt;

</description>
      <category>materialui</category>
      <category>react</category>
      <category>finalform</category>
      <category>typescript</category>
    </item>
  </channel>
</rss>
