![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Python & JS micro framework for realtime web UI applications
Link to project on PyPi: https://pypi.org/project/sundash/
pip install sundash
python -m examples <num | name>
To run Hello World example:
python -m examples hello # passing 01 also works
Available examples:
01 hello
- show plain HTML string02 buttons
- counter with clickable buttons03 clock
- realtime clock (scheduler events)04 menu
- simple page routing05 search
- handling signle form input06 tables
- static tablesClient interaction example:
from dataclasses import dataclass
from sundash import App
from sundash import Component
from sundash import on
from sundash.app import ButtonClick
app = App()
class Counter(Component):
html = '''
<button id="minus">-</button>
<b>{{ count }}</b>
<button id="plus">+</button>
'''
@dataclass
class Vars:
count: int = 0
@on(ButtonClick)
async def on_click(self, event: ButtonClick):
if 'plus' == event.button_id:
self.vars.count += 1
elif 'minus' == event.button_id:
self.vars.count -= 1
await self.update_var('count')
app.run_sync(['<h1>🧮 Counter</h1>', Counter])
Server Interaction Example:
import dataclasses as dc
import datetime as dt
from sundash import Component
from sundash import on
from sundash.scheduler import EverySecond
from sundash.scheduler import SchedulerApp
app = SchedulerApp()
now = lambda: dt.datetime.now().strftime('%H:%M:%S')
class Clock(Component):
html = '<p><b>Time:</b> {{ time }}<p/>'
@dc.dataclass
class Vars:
time: str = dc.field(default_factory=now)
@on(EverySecond)
async def update(self, _):
self.vars.time = now()
await self.update_var('time')
app.run_sync(['<h1>🕰️ Clock</h1>', Clock])
Хочу пробрасывать real-time интерфейс к JS либам, чтобы была возможность написать любую веб-морду для любых системных инструментов.
Примеры использования: любые админки, торговые терминалы, дашборды мониторинга, тулзы для аналитики. Все кастомное и интерактивное, что хочется нарисовать, но ты бэкендер и хочешь писать преимущественно на Python с минимальным использованием JavaScript-а, без тяжеловесного инструментария фронтендеров (React и пр).
poetry install --with=dev
poe q
poetry publish --build
FAQs
Python & JS micro framework for realtime web UI applications
We found that sundash demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.