Skip to content

Instantly share code, notes, and snippets.

@redradist
redradist / react_brython_hello_component.py
Created March 3, 2021 11:10
Simple React Hello component written using Brython
from browser import window, console, document
import javascript
React = window.React
@javascript.extends(React.Component)
class Hello:
def __init__(self, props, children):
javascript.super().__init__(props, children)