mb21
mb21
SSolidJS
Created by mb21 on 2/8/2024 in #support
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
SSolidJS
Created by mb21 on 2/8/2024 in #support
renderToString without hydration markers?
Nice, thanks! That got rit of the data-attributes. The html comments are still there though 🤔
11 replies
SSolidJS
Created by mb21 on 8/15/2023 in #support
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