import React, { useState } from 'react';
import { createContainer } from './reconciler';
// Example usage
const App = () => {
const [count, setCount] = useState(0);
return (
<>
Welcome to Telegram React!
{'\n'}
Current count: {count}
{'\n'}
This is a custom React reconciler that renders to structured data suitable for Telegram's message format.> ); }; // Create container and render const { render, clickButton } = createContainer(); console.log('Initial render:'); render(