Open jpc opened 3 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/nteract/play/DoGfa9PRwXyr6XVieYAZbZDSvLbU
✅ Preview: https://play-git-fork-jpc-patch-1-nteract.vercel.app
Running the initial example on the demo page gives a
Children must be a list of VDOM objects or strings
which is not a great first experience with the project ;)Python lists of VDOM objects are neither VDOM objects nor strings so they trigger the error. If we splice the results of the
fancy
call into theh1
arguments list (so each list element becomes a separate argument toh1
) then the code works correctly.