<?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: Koen Bok</title>
    <description>The latest articles on Forem by Koen Bok (@koen).</description>
    <link>https://forem.com/koen</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%2F351985%2F5a0e7834-0b7a-4e44-9900-90393d52c836.jpg</url>
      <title>Forem: Koen Bok</title>
      <link>https://forem.com/koen</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/koen"/>
    <language>en</language>
    <item>
      <title>Code-on-Canvas. Develop and Design at the same time.</title>
      <dc:creator>Koen Bok</dc:creator>
      <pubDate>Thu, 08 Jul 2021 16:45:07 +0000</pubDate>
      <link>https://forem.com/koen/code-on-canvas-develop-and-design-at-the-same-time-258l</link>
      <guid>https://forem.com/koen/code-on-canvas-develop-and-design-at-the-same-time-258l</guid>
      <description>&lt;p&gt;Code plus canvas are a match made in heaven. Code lets you express any complex idea, using logic, state, etc. And a canvas for visual design lets you compose, layout, and experiment quickly with different interfaces — &lt;a href="https://www.framer.com/developers?utm_source=dev.to&amp;amp;utm_medium=link&amp;amp;utm_campaign=developers"&gt;Framer lets you combine both&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/Is-nojnY61M"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.framer.com/developers?utm_source=dev.to&amp;amp;utm_medium=link&amp;amp;utm_campaign=developers"&gt;Framer&lt;/a&gt; is a no-code tool for interactive design. It has a performant free-form canvas for direct manipulation like many other design tools. But the canvas was made in React, so it can render any React Component, including the ones you code yourself right inside the tool. You can even add custom UI for your component props and instantly share your components with anyone.&lt;/p&gt;

&lt;p&gt;Code in Framer lets you extend the tools capabilities. By using Code Components (React components) or Code Overrides (Higher-Order Components) you can create advanced interactions on top of your designs, share state, load real data from an API, and pretty much anything else you can think of. It’s a truly &lt;a href="https://www.framer.com/developers?utm_source=dev.to&amp;amp;utm_medium=link&amp;amp;utm_campaign=developers"&gt;hackable design tool&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;And with a major update to the editor and compiler to build components, the experience just got a whole lot smoother. The editor now uses swc and wasm to instantly preview your changes (or show errors). It’s a pretty nice way to build components directly in Framer, but of course you can also use external code from npm or other tools like CodeSandbox.&lt;/p&gt;

&lt;p&gt;Framer code is fully built on &lt;a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules"&gt;ES modules&lt;/a&gt;. That means that every module you make in Framer automatically becomes an ES module. That way it’s instantly shareable across your projects and your team member’s. But it’s technically even how they’re rendered on the canvas.&lt;/p&gt;

&lt;p&gt;Because we integrated ES modules fully in the in-app editor, you can import any http based ES module and use it in Framer directly, even from npm. No more &lt;code&gt;yarn install&lt;/code&gt;, just import the full http URL where the ES module lives:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import _ from "lodash" // Old way (need to install)
import _ from "https://jspm.dev/lodash" // ESM way
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  Get started
&lt;/h3&gt;

&lt;p&gt;You’ll be able to pioneer new ideas faster than ever before, create custom code solutions to uplevel your whole team, and share with the whole world with a simple link. &lt;/p&gt;

&lt;p&gt;Explore our all-new &lt;a href="https://www.framer.com/developers?utm_source=dev.to&amp;amp;utm_medium=link&amp;amp;utm_campaign=developers"&gt;Framer for Developers site&lt;/a&gt; to get started. Find cool examples or start playing immediately with our code playground. And finally, join us on Discord for help or questions from a community of 6,000.&lt;/p&gt;

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