SShortSingh.
Back to feed

Dev team open-sources React Native theme engine while keeping payment logic private

0
·1 views

A company that sells React Native app templates built on Expo, Supabase, and NativeWind has partially open-sourced its internal template engine. The team made its ProductData config schema, runtime theme engine, UI primitives, and documentation publicly available for developers to reference. However, core monetization infrastructure — including Stripe webhook handling, license-grant logic, and download entitlement checks — remains permanently private. The team applied a clear decision rule: code that addresses design or configuration questions is open, while code that governs payment and access control is not. According to the developers, the theme and config systems were shared because customer interest was high, but these components were never the revenue-generating parts of the product.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Flutter Developer Shares Battle-Tested 5-File API Architecture Using Dio

A Flutter developer with experience shipping over a dozen production apps has published a detailed guide on structuring API integration using just five files. The architecture relies on the Dio HTTP client and covers a centralised client setup, an auth interceptor, retry logic, caching, and typed repositories. The auth interceptor automatically attaches access tokens to requests and handles silent token refresh on 401 errors, preventing users from seeing authentication failures. A single Dio instance manages base URLs, timeouts, and interceptors across the entire app, eliminating scattered network calls in individual screens. The pattern was developed after a painful refactor of an early app whose unstructured API layer took a full week to fix.

0
ProgrammingDEV Community ·

How AngleSharp, a Spec-Compliant .NET HTML Parser, Went from a Plane Ride to OSS Success

AngleSharp is a .NET library that parses HTML, SVG, MathML, and CSS, exposing a fully spec-compliant W3C DOM API in C# without requiring a browser. Its creator, a Microsoft MVP, began writing the HTML5 parser from scratch during a flight to the MVP Summit in 2013, armed with a printed copy of the spec. What started as groundwork for a cross-platform GUI toolkit quickly revealed the true complexity of the HTML5 specification, where error handling and edge cases make up roughly 80% of the standard. After a period of frustration and near-abandonment, the developer published a CodeProject article and pushed the code to GitHub. The project woke up to over 120 stars overnight, reigniting motivation and setting AngleSharp on the path to becoming a widely used open-source library.

0
ProgrammingDEV Community ·

Why and How Web Developers Should Minify JSON in Production Workflows

JSON minification removes unnecessary whitespace, indentation, and line breaks from JSON documents to reduce the number of bytes transferred over a network. Unlike compression technologies such as GZIP or Brotli, minification works at the formatting level and can be used alongside compression for greater efficiency. Developers are advised to keep human-readable, formatted JSON as the source in repositories and only optimize the version delivered to production or end users. Before minifying, JSON should be validated, since minification cannot fix structural errors like trailing commas, single quotes, or unquoted property names. Most programming languages offer built-in tools for the task, such as JSON.stringify() in JavaScript, making it straightforward to automate in application code.

0
ProgrammingHacker News ·

Tailwind Labs acquired by Shopify in major CSS framework deal

Tailwind Labs, the company behind the popular utility-first CSS framework Tailwind CSS, is joining Shopify. The announcement was made officially on the Tailwind CSS blog. The acquisition brings the team and their widely used front-end tooling under Shopify's umbrella. No specific financial terms of the deal were disclosed in the announcement. The move signals Shopify's continued investment in developer tools and web infrastructure.