SShortSingh.
Back to feed

Why micro frontend contracts matter more than bundler config

0
·61 views

A development team building a React-based government events platform adopted Module Federation to allow independent deployments across multiple teams, replacing a monolithic release process that forced everyone to wait on the slowest team. The core challenge they identified was not the bundler setup, which can be configured in hours, but defining and enforcing explicit contracts between the shell and remote modules. Each remote was required to declare its exposed props, emitted events, and shared dependency version ranges, with the shell refusing to mount any remote that fell outside the agreed range. This approach moved failures to load time rather than production, eliminated release-train coordination, and reduced the overall release cycle by roughly 40 percent. The team concluded that splitting frontends by team ownership, keeping shared dependencies minimal, and writing the contract before touching build config are the critical factors for sustainable micro frontend architecture.

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 ·

Learners lose JLPT points most in reading at N1, listening at N2, grammar at N3

An analysis of 36,263 first answers across 6,091 JLPT practice questions on the OK JLPT site shows where learners most often go wrong. Vocabulary was the strongest section at every level, staying at least seven points ahead of the next section. The weakest area shifted by level: reading at N1, N4 and N5, listening at N2, and grammar at N3. The hardest question types included long passages at N1 and sentence composition at N3 and N5. The author notes the data reflects only one site's learners and measures correct-answer shares, not official scores.

0
ProgrammingDEV Community ·

Nine Timeout Limits That Can Cut Long Test Runs Short in Claude Code, Codex and Gemini CLI

A developer reports that a 14-minute integration suite run through Claude Code's Bash tool hit a 2-minute foreground timeout, with the command then moved to the background. The article lists nine timeout and limit settings across Claude Code, Codex and Gemini CLI, giving each one's name, default value, where it is configured and the symptom it causes. Key defaults include a 2-minute foreground Bash timeout and a 10-minute ceiling on requested timeouts, with unattended claude -p runs using different limits. The author notes that the figures come from each vendor's documentation as of November 6, 2026, and that they were not independently measured. Environment-variable overrides in settings files are presented as a way to extend these limits for long-running jobs.

0
ProgrammingDEV Community ·

Language Models Trained to Generate Examples That Strongly Activate Model Directions

Researchers have introduced Maximally-Activating Example Metamodels (MAEMs), language models that produce text exemplars which strongly activate a given residual-stream direction in another model. The method uses a label-free reinforcement-learning objective that maximizes cosine similarity between the target direction and the activations generated by the MAEM's text. Because it does not rely on a fixed corpus, it addresses the limitation that scanning existing text cannot reveal activations for rare directions. The authors suggest this could allow interpretability work to cover the full residual stream rather than only well-represented inputs. The approach may shift interpretability from searching existing text toward generating targeted probes of model internals.

0
ProgrammingDEV Community ·

Un développeur présente TipsFoot, une plateforme d'analyse data pour les pronostics Loto Foot

Un développeur web passionné de football a conçu TipsFoot, une plateforme dédiée à l'analyse de données sportives pour les pronostics du Loto Foot 15. Le site s'appuie sur Nuxt 3 avec du rendu côté serveur pour un affichage rapide sur mobile et un bon référencement, et sur Redis pour mettre en cache les statistiques et les cotes pendant plusieurs heures. L'algorithme croise les xG récents, l'impact des absences de joueurs clés et les performances à domicile ou à l'extérieur afin d'estimer les probabilités de victoire domicile, match nul et victoire extérieur. Selon l'auteur, l'objectif n'est pas de prédire l'avenir mais de fournir des bases d'analyse et de repérer les surprises probables, avec une publication quotidienne des grilles. L'article se termine par une demande d'avis de la communauté sur les meilleures API sportives à utiliser pour ce type de projet.