Help with creating a builder pattern for main renderer
Wasn't sure how to fully articulate this but I want to have a class that lets me "build" the nested component structure that eventually gets passed into the
render
function.
I think I have it working with runtime behavior, but the type definitions aren't quite right and was hoping I could get some feedback on it.
Implementation
Usage
3 Replies
I may just be spent right now and need a break but I've tried a few variations with built in solidJS types and must be missing something 🤷🏼♂️
Here is my implemention https://github.com/solid-hooks/core/blob/main/src%2Fapp.ts
GitHub
core/src/app.ts at main · solid-hooks/core
useful hooks for solid.js. Contribute to solid-hooks/core development by creating an account on GitHub.
Ah, very nice thank you for sharing! this is almost exactly what I wanted TYVM!