mb21
renderToString without hydration markers?
right... or a regex 🙈 (as I don't want to add another npm dependency just for that)
but perhaps worth considering adding this behaviour to
renderToString
as an option?
Or why does <NoHydration
not remove the comments? I don't understand how you can do insertion without doing hydration...11 replies
useReducer vs createReducer
@apollo79 thanks for the reply! I'm fairly new to solid, but that seems to suggest that useReducer is the superior solution for the very common case of having nested structure in there? I'm wondering though why solid-primitives chose to go the other way then? Because usually I'd opt to use a solid-primitive over copying something from a tutorial... perhaps I should ask on https://github.com/solidjs-community/solid-primitives/discussions ?
4 replies