Skip to content

Instantly share code, notes, and snippets.

@allouis
allouis / Caddyfile
Last active June 11, 2025 03:58
my n8n local setup
https://localhost:5678 {
reverse_proxy n8n:5678
tls internal
}

React Modular Architecture Rules

This document contains rules and guidelines for building modular React applications using established UI patterns and architectural principles. These rules are designed to create maintainable, scalable, and testable React applications.

Core Principles

1. React is a View Library, Not a Framework

  • RULE: Treat React as a library for building user interfaces only
  • RULE: Do not mix business logic, data fetching, or state management directly in React components
  • RULE: Consider your application as a JavaScript/TypeScript application that happens to use React for views
@allouis
allouis / example.js
Created August 15, 2023 16:53
Handlebars.js escaping example
var assert = require('assert');
var handlebars = require('handlebars');
handlebars.registerHelper('html_returning_helper', function () {
return '<p>This is HTML</p>';
});
var template = handlebars.compile(`
{{#html_returning_helper}} {{/html_returning_helper}}
{{html_returning_helper}}
@allouis
allouis / changelog-2.38.0.md
Last active January 14, 2020 09:29
Changelog 2.38.0
  • c4179584e Version bump to 2.38.0 - Fabien O'Carroll
  • 789036cf6 Version bump to 2.38.0 - Fabien O'Carroll
  • 379a1470b Updated Ghost-Admin to 2.38.0 - Fabien O'Carroll
  • 0cd0ee049 ✨ Allowed pages to accept HTML as a source (#11422) - Ian Sim
  • 258027608 🐛 Fixed 500 error on /rss/ when a post has no content - Kevin Ansfield
@allouis
allouis / changelog-3.3.0.md
Last active January 13, 2020 12:50
Changelog 3.3.0
@allouis
allouis / changelog-3.0.0.md
Created October 22, 2019 12:11
Changelog 3.0.0
  • f4cadc070 Version bump to 3.0.0 - Fabien O'Carroll
  • c7c9986c7 Updated Casper to 3.0.0 - Fabien O'Carroll
  • a789431df Updated Ghost-Admin to 3.0.0 - Fabien O'Carroll
  • 90d26e7c7 Version bump to 3.0.0 - Fabien O'Carroll
  • 9cf511f48 Fixed enter in tag screen inputs triggering save (#1381) - Kevin Ansfield
  • 827540343 Prevented enter key submitting misleading member details save request (#1380) - Kevin Ansfield
  • c92708ea9 Fixed Cmd+S in member details form (#1379) - Kevin Ansfield
  • c800f646e Updated minimum ghost-cli version in engines - Fabien O'Carroll
  • [ccc
@allouis
allouis / changelog-2.27.0.md
Created August 6, 2019 09:51
Changelog 2.27.0
  • e0f3d90fa Version bump to 2.27.0 - Fabien O'Carroll
  • 9f7a34c4d Updated Casper to 2.10.6 - Fabien O'Carroll
  • 9ef00317e Updated Ghost-Admin to 2.27.0 - Fabien O'Carroll
  • 5bb8fdf79 Version bump to 2.27.0 - Fabien O'Carroll
  • ec20b58c8 Fixed spam prevention test being affected by order - Hannah Wolfe
  • 167e1ead2 🐛 Ignored node_modules dir when archiving (#10969) - Sumedh Nimkarde
  • 494e0d14a Update dependency archiver to v3.1.1 (#10981) - renovate[bot]
  • 373627223 🐛 Ensured import does not override private setting (#10882) - Fabien O'Carroll
  • [13b1a9e7e](https://github.com/TryG
@allouis
allouis / changelog-2.25.7.md
Created July 16, 2019 08:29
Changelog 2.25.7
  • c2e4d0f6b Version bump to 2.25.7 - Fabien O'Carroll
  • 86526d69b Updated Ghost-Admin to 2.25.7 - Fabien O'Carroll
  • 5eb087b6c Version bump to 2.25.7 - Fabien O'Carroll
  • b360c3736 Updated posts/pages filter style - Peter Zimon
  • a482c547a Update default 404 page - Peter Zimon
  • 041752a0e 💡 Bumped minimum node v8.x version to v8.10.0 - Fabien O'Carroll
  • ff8e3ed95 💡 Bumped minimum node v8.x version to v8.10.0 - Fabien O'Carroll
  • 03286ff2c Update ember addons - Renovate Bot
  • 033e58e4a Update dependency knex
@allouis
allouis / changelog-2.25.4.md
Created July 1, 2019 06:49
Changelog 2.25.4
  • af30884ca Updated Ghost-Admin to 2.25.4 - Fabien O'Carroll
  • 9f2e1bfde Version bump to 2.25.4 - Fabien O'Carroll
  • 94dfed7a9 Updated Casper to 2.10.3 - Fabien O'Carroll
  • 836f36d87 Version bump to 2.25.4 - Fabien O'Carroll
  • 6ca34a29f 🐛 Allowed .ico files to be uploaded for icons. (#10820) - Jeffrey Fisher
  • fcfe825dc Update dependency walk-sync to v1.1.4 - Renovate Bot
  • 15a3dacf2 Fixed invalid method usage in members authentication - Rish
@allouis
allouis / changelog-2.25.1.md
Created June 19, 2019 07:13
Changelog 2.25.1
  • cbe8d1885 Version bump to 2.25.1 - Fabien O'Carroll
  • 815b1405b Updated Ghost-Admin to 2.25.1 - Fabien O'Carroll
  • 42345a3c2 Version bump to 2.25.1 - Fabien O'Carroll
  • 3069f5f5a Mocked network access for {{amp_content}} img unit test (#10792) - Kevin Ansfield
  • ba8ce56f9 🐛 Fixed error when opening editor after abandoning a new tag - Kevin Ansfield
  • abda6e633 Migrated to use url-utils from Ghost-SDK (#10787) - Naz Gargol