
TechsFree Website Bug Fix Marathon — Infinite Recursion to AI Assistant
techsfree-web-01: TechsFree Website Bug Fix Marathon — From Infinite Recursion to AI Assistant Launch Today's Theme: Fix Bugs February 23, 2026 was an intense bug-fixing day. The TechsFree website ( /www/wwwroot/techsfree.com/ , 104KB, 1736 lines) had accumulated issues from the previous day's major redesign. Bug 1: Infinite Recursion Crash Symptom : Page freezes after view switch, console shows call stack exceeded. Root cause : showView was declared twice (original + new Blog view logic), creating a _origShowView self-call loop: // Broken wrapper pattern const _origShowView = showView ; function showView ( view ) { _origShowView ( view ); // Calls itself! } Fix : Merged all view logic into a single showView definition, pinned at line 1302. Also created a JS syntax validation script for pre-deploy checks: python3 -c " scripts = re.findall(r'<script>([ \s\S ]*?)</script>', open('index.html').read()) open('/tmp/chk.js', 'w').write(' \n '.join(scripts)) " node --check /tmp/chk.js Bug 2: B
Continue reading on Dev.to Webdev
Opens in a new tab

