Philipp Rudiger
Philipp Rudiger
I've got sucrase working now so you can write React code without `htm`. At only 5kb increase in bundle size that seems worth it.
So the example above now works with: ```jsx interface Task { name: string; done: boolean }; function App() { const [newTask, setNewTask] = useState(''); const [tasks, setTasks] = useState([] as...
Okay I think this example demonstrates the React API fairly well: ### Python ```python import pathlib import param import panel as pn from panel.reactive import ReactiveHTML class Example(ReactiveHTML): color =...
I think it's a pretty clean API now. Here's another demo: https://github.com/holoviz/panel/assets/1550771/1f3abc79-2beb-457b-844e-a89809f4bc93 This demonstrates: - Bi-directional syncing of state parameters and React state variables - ESM module importing - Automatic...
Yes, ESMComponent seems like a good name for it. And also yes, I'm working on adding the necessary shims to get mui working.
The same is true if you overload `ReactiveHTML`, suddenly you have this monstrosity which does 500 different things.
Yes, in principle. The nice thing about `ReactiveHTML` is that thanks to the templating you can write a useful component entirely without knowing any Javascript, so I'd be hesitant to...
This is because this PR was absolutely not in a state that should be reviewed yet. Most of the items you highlighted were on my to do list but it's...
Thanks @ahuang11, appreciate your input. I'll respond to a few items but would also like to keep the focus specifically on the tutorial section of the docs. > At first...
Yes, the purpose should definitely be made clear. Just to summarize at a high-level: - Tutorials are **Learning oriented**: A user new to Panel should be able to go from...