<?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: Nurul Anam</title>
    <description>The latest articles on DEV Community by Nurul Anam (@nurulanam).</description>
    <link>https://dev.to/nurulanam</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1002548%2Fca1c087e-85ef-4031-aba2-a6da7c01ed07.jpg</url>
      <title>DEV Community: Nurul Anam</title>
      <link>https://dev.to/nurulanam</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nurulanam"/>
    <language>en</language>
    <item>
      <title>Building in Public, Giving Back to Open Source</title>
      <dc:creator>Nurul Anam</dc:creator>
      <pubDate>Tue, 01 Dec 2026 18:40:10 +0000</pubDate>
      <link>https://dev.to/obliquecode/building-in-public-giving-back-to-open-source-39hl</link>
      <guid>https://dev.to/obliquecode/building-in-public-giving-back-to-open-source-39hl</guid>
      <description>&lt;p&gt;&lt;em&gt;What we're dreaming about at Oblique Code.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Every great software project starts with a simple idea. But we believe the best ideas become even more valuable when they're shared.&lt;/p&gt;

&lt;p&gt;At &lt;strong&gt;Oblique Code&lt;/strong&gt;, we're dreaming of building more than software for clients. We want to build tools that other developers can use, learn from, improve, and make their own.&lt;/p&gt;

&lt;p&gt;That's why open source matters to us.&lt;/p&gt;

&lt;h2&gt;
  
  
  More than just publishing code
&lt;/h2&gt;

&lt;p&gt;We don't see open source as simply uploading a repository to GitHub. It's about solving real problems, sharing practical solutions, and making the everyday work of developers a little easier.&lt;/p&gt;

&lt;p&gt;We want to create projects that are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Useful:&lt;/strong&gt; Built around real problems developers face.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reliable:&lt;/strong&gt; Carefully developed, tested, and maintained.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Accessible:&lt;/strong&gt; Easy to understand, integrate, and contribute to.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Transparent:&lt;/strong&gt; Open about decisions, improvements, and limitations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Community-driven:&lt;/strong&gt; Better through feedback, collaboration, and contributions.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What we're building
&lt;/h2&gt;

&lt;p&gt;We're already taking our first steps through small but practical projects.&lt;/p&gt;

&lt;p&gt;Some of our work includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Form Guard:&lt;/strong&gt; Helping developers build more reliable form experiences.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Exit Intent:&lt;/strong&gt; A lightweight JavaScript library for detecting exit intent.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;LLMS Builder:&lt;/strong&gt; Exploring better ways to make WordPress content accessible to AI systems.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These projects are part of a bigger vision: creating a growing collection of developer-focused tools that solve problems without adding unnecessary complexity.&lt;/p&gt;

&lt;h2&gt;
  
  
  Our dream for the future
&lt;/h2&gt;

&lt;p&gt;We dream of a day when developers recognize Oblique Code not only for the software we build, but also for the tools we give back to the community.&lt;/p&gt;

&lt;p&gt;We want to maintain projects that people genuinely depend on. We want to welcome contributors, listen to criticism, document what we learn, and keep improving even when a project starts small.&lt;/p&gt;

&lt;p&gt;We know this won't happen overnight. Open source requires consistency, patience, responsibility, and long-term commitment.&lt;/p&gt;

&lt;p&gt;But every meaningful project has to start somewhere.&lt;/p&gt;

&lt;h2&gt;
  
  
  Let's build together
&lt;/h2&gt;

&lt;p&gt;If you're a developer, open-source enthusiast, or someone who enjoys building useful things, we'd love to have you around.&lt;/p&gt;

&lt;p&gt;Explore our projects, open an issue, share feedback, or contribute something.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;We're not just dreaming about building software. We're dreaming about building things worth sharing.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Welcome to Oblique Code.&lt;/p&gt;

&lt;p&gt;🌐 Website: &lt;a href="https://obliquecode.com" rel="noopener noreferrer"&gt;https://obliquecode.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;
💻 GitHub: &lt;a href="https://github.com/Oblique-Code" rel="noopener noreferrer"&gt;https://github.com/Oblique-Code&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Build thoughtfully. Share openly. Improve together.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>webdev</category>
      <category>programming</category>
      <category>community</category>
    </item>
    <item>
      <title>form-guard 1.0.1: A Reliability Release</title>
      <dc:creator>Nurul Anam</dc:creator>
      <pubDate>Tue, 01 Dec 2026 10:01:37 +0000</pubDate>
      <link>https://dev.to/obliquecode/form-guard-101-a-reliability-release-34mn</link>
      <guid>https://dev.to/obliquecode/form-guard-101-a-reliability-release-34mn</guid>
      <description>&lt;h2&gt;
  
  
  form-guard 1.0.1: A Reliability Release
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;@oblique-code/form-guard&lt;/code&gt; helps prevent users from losing unsaved form changes. It protects against accidental navigation, page refreshes, tab closures, back-button navigation, and link clicks.&lt;/p&gt;

&lt;p&gt;It's dependency-free, approximately 5 KB gzipped, and includes React and Vue adapters.&lt;/p&gt;

&lt;p&gt;Today, we're releasing &lt;strong&gt;version 1.0.1&lt;/strong&gt; — a bug-fix release focused on reliability, accessibility, browser compatibility, and package quality.&lt;/p&gt;

&lt;p&gt;There are no breaking API changes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;If you're using 1.0.0, we recommend upgrading.&lt;/strong&gt; The first fix alone affects every page using the library.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm install @oblique-code/form-guard@1.0.1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  The important fixes
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. No more false "Leave site?" warnings
&lt;/h3&gt;

&lt;p&gt;In 1.0.0, refreshing or closing a page could trigger the browser's native leave confirmation even when the form hadn't changed.&lt;/p&gt;

&lt;p&gt;This is now fixed. The browser warning only appears when there are actual unsaved changes.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Client-side routing works correctly
&lt;/h3&gt;

&lt;p&gt;Previously, link clicks could turn into full page reloads, even when the form was clean.&lt;/p&gt;

&lt;p&gt;Now, links are only intercepted when the form has unsaved changes. After the user confirms leaving, the original click is replayed.&lt;/p&gt;

&lt;p&gt;This allows Next.js &lt;code&gt;&amp;lt;Link&amp;gt;&lt;/code&gt;, React Router, and similar client-side routers to handle navigation normally.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Special link interactions are preserved
&lt;/h3&gt;

&lt;p&gt;These interactions are no longer intercepted:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Ctrl/Cmd-click&lt;/li&gt;
&lt;li&gt;Middle-click&lt;/li&gt;
&lt;li&gt;Download links&lt;/li&gt;
&lt;li&gt;In-page &lt;code&gt;#anchor&lt;/code&gt; navigation&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  4. One confirmation, not two
&lt;/h3&gt;

&lt;p&gt;After a user confirms leaving through the custom modal, the browser's native leave dialog no longer appears as a second confirmation.&lt;/p&gt;

&lt;p&gt;Multiple guards on the same page also share a single prompt.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. The confirmation modal is accessible
&lt;/h3&gt;

&lt;p&gt;One of the most important bugs we found was related to keyboard focus.&lt;/p&gt;

&lt;p&gt;The modal appeared visually, but it was still hidden during its fade-in animation. As a result, focusing the "Stay" button failed silently.&lt;/p&gt;

&lt;p&gt;Keyboard users could interact with the page behind the modal, and the Tab key could escape the dialog.&lt;/p&gt;

&lt;p&gt;This is now fixed.&lt;/p&gt;

&lt;p&gt;We also corrected the "Leave" button's color contrast to meet WCAG AA requirements.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Invalid form submissions remain protected
&lt;/h3&gt;

&lt;p&gt;With &lt;code&gt;novalidate&lt;/code&gt;, submitting a form with an empty required field previously marked it as clean.&lt;/p&gt;

&lt;p&gt;That could cause users to lose unsaved changes.&lt;/p&gt;

&lt;p&gt;Now, an invalid submission doesn't count as a successful save. The form remains protected until a valid submission.&lt;/p&gt;

&lt;h3&gt;
  
  
  7. Dynamic forms and native reset
&lt;/h3&gt;

&lt;p&gt;Several additional edge cases are fixed:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;addForm()&lt;/code&gt; no longer discards unsaved changes.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;removeForm()&lt;/code&gt; recalculates the dirty state.&lt;/li&gt;
&lt;li&gt;Native form reset events are detected.&lt;/li&gt;
&lt;li&gt;Removing the only changed field correctly returns the form to a clean state.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Better package distribution
&lt;/h2&gt;

&lt;p&gt;This release also improves how the package is distributed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Stylesheet distribution&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The compiled stylesheet is now included as &lt;code&gt;dist/styles.css&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Import it using:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="s1"&gt;'@oblique-code/form-guard/styles.css'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It is also available through the CDN. The previous &lt;code&gt;/src/styles.css&lt;/code&gt; path remains supported for backward compatibility.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;TypeScript and CommonJS&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;CommonJS consumers using &lt;code&gt;require()&lt;/code&gt; now receive the correct TypeScript declarations.&lt;/p&gt;

&lt;p&gt;We also fixed type resolution for older TypeScript configurations using &lt;code&gt;moduleResolution: node10&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Bundler compatibility&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The package now correctly declares CSS as a side effect, preventing bundlers from accidentally removing stylesheet imports.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Content Security Policy&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Strict nonce-based Content Security Policy configurations now receive correctly styled confirmation modals.&lt;/p&gt;

&lt;h2&gt;
  
  
  What changed in the API behaviour?
&lt;/h2&gt;

&lt;p&gt;A few behaviour changes are worth mentioning:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A guard that has been disabled with &lt;code&gt;disable()&lt;/code&gt; no longer prompts. &lt;code&gt;confirmLeave()&lt;/code&gt; returns &lt;code&gt;true&lt;/code&gt; while disabled.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;reset()&lt;/code&gt; fires the &lt;code&gt;clean&lt;/code&gt; callback only when the form was actually dirty.&lt;/li&gt;
&lt;li&gt;Invalid submissions no longer reset the guard's dirty state.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These changes are documented in the changelog.&lt;/p&gt;

&lt;h2&gt;
  
  
  Testing in real browsers
&lt;/h2&gt;

&lt;p&gt;One of the biggest improvements in this release came from changing how we test the library.&lt;/p&gt;

&lt;p&gt;Unit tests running in jsdom were useful, but they couldn't reproduce every real browser behaviour.&lt;/p&gt;

&lt;p&gt;We added Playwright end-to-end tests covering:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Chromium&lt;/li&gt;
&lt;li&gt;Firefox&lt;/li&gt;
&lt;li&gt;WebKit&lt;/li&gt;
&lt;li&gt;Native browser leave dialogs&lt;/li&gt;
&lt;li&gt;Keyboard navigation and focus management&lt;/li&gt;
&lt;li&gt;Single-page application navigation&lt;/li&gt;
&lt;li&gt;Back and forward navigation&lt;/li&gt;
&lt;li&gt;Different HTML form field types&lt;/li&gt;
&lt;li&gt;Multiple guards on the same page&lt;/li&gt;
&lt;li&gt;Strict nonce-based CSP&lt;/li&gt;
&lt;li&gt;Automated accessibility auditing with axe-core&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The browser tests uncovered several bugs that the existing unit tests hadn't caught.&lt;/p&gt;

&lt;p&gt;We also added package validation using &lt;code&gt;publint&lt;/code&gt;, &lt;code&gt;@arethetypeswrong/cli&lt;/code&gt;, and a smoke test that installs the packed npm tarball into a separate project.&lt;/p&gt;

&lt;p&gt;The result is a more thoroughly tested release, not just a collection of code changes.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's next?
&lt;/h2&gt;

&lt;p&gt;We're planning several improvements for v1.1:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Reactive &lt;code&gt;isDirty&lt;/code&gt; support for React.&lt;/li&gt;
&lt;li&gt;Better integration helpers for Next.js.&lt;/li&gt;
&lt;li&gt;React Router and Vue Router navigation helpers.&lt;/li&gt;
&lt;li&gt;A &lt;code&gt;getChanges()&lt;/code&gt; API to identify which fields have changed.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can follow the development plan in our &lt;a href="https://github.com/Oblique-Code/form-guard/blob/main/docs/ROADMAP.md" rel="noopener noreferrer"&gt;roadmap&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it out
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;npm:&lt;/strong&gt; &lt;a href="https://www.npmjs.com/package/@oblique-code/form-guard" rel="noopener noreferrer"&gt;https://www.npmjs.com/package/@oblique-code/form-guard&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/Oblique-Code/form-guard" rel="noopener noreferrer"&gt;https://github.com/Oblique-Code/form-guard&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Changelog:&lt;/strong&gt; &lt;a href="https://github.com/Oblique-Code/form-guard/blob/main/CHANGELOG.md" rel="noopener noreferrer"&gt;https://github.com/Oblique-Code/form-guard/blob/main/CHANGELOG.md&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Discussions:&lt;/strong&gt; &lt;a href="https://github.com/Oblique-Code/form-guard/discussions/2" rel="noopener noreferrer"&gt;https://github.com/Oblique-Code/form-guard/discussions/2&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Bug reports, feedback, and contributions are welcome.&lt;/p&gt;

&lt;p&gt;If you use the library, we'd appreciate hearing about your experience.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Built and maintained by &lt;a href="https://obliquecode.com" rel="noopener noreferrer"&gt;Oblique Code&lt;/a&gt;.&lt;/em&gt; &lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>opensource</category>
      <category>testing</category>
    </item>
  </channel>
</rss>
