mb21
mb21
SSolidJS
Created by mb21 on 2/8/2024 in #support
renderToString without hydration markers?
Hello! Is there a way to use solid's renderToString such that it doesn't output the hydration markers (data-attributes and html comments)? Would be nice, then I could use the same JSX I already have in my project to send HTML emails.... Should I open up a feature request on GitHub?
11 replies
SSolidJS
Created by mb21 on 8/15/2023 in #support
useReducer vs createReducer
Hello! What are the pros and cons of 1. the useReducer in the tutorial (https://www.solidjs.com/tutorial/stores_immutable -> scroll down in the left pane), vs 2. createReducer from @solid-primitives/reducer 1) is built on createStore while 2) is built on createSignal (source) If I'd want to put a normal JS object with a couple of fields in it to store some state... which one is recommended? thanks!
4 replies