cdegrel
cdegrel
Explore posts from servers
SSolidJS
Created by cdegrel on 8/18/2024 in #support
Multiple build
I feel a bit stupid 😅 , I didn't think of this solution at all. I just tested it, I can access it via process.env
7 replies
SSolidJS
Created by cdegrel on 8/18/2024 in #support
Multiple build
Or make a reference to env file like .env.app|.env.web?
7 replies
SSolidJS
Created by cdegrel on 8/18/2024 in #support
Multiple build
Thanks for a quick response, I prefer this solution, but I don't know how set up this. When I see the build command in vinxi cli, I find only these options --config Path to config file (default: app.config.js) --preset Server preset (default: node-server)
--version Print the versions of Vinxi core dependencies It's possible to do have a solution like vinxi build --mode app|web and use it in app.config.ts ?
7 replies
SSolidJS
Created by cdegrel on 7/17/2024 in #support
LocalStorage Hydration Mismatch
Thanks you for the info
11 replies
SSolidJS
Created by cdegrel on 7/17/2024 in #support
LocalStorage Hydration Mismatch
And to think it was that simple, thanks a lot you two 😃 .
11 replies
SSolidJS
Created by cdegrel on 7/17/2024 in #support
LocalStorage Hydration Mismatch
my objective is to store the result of the call in localstorage, and when the browser is reloaded not to make another call if the data is present in the localstorage
11 replies
SSolidJS
Created by cdegrel on 7/17/2024 in #support
LocalStorage Hydration Mismatch
but if I want to make the api call only if I don't have data in my localstorage, how can I proceed, sorry for the inconvenience, but this is the first time I'm on an ssr application
11 replies
SSolidJS
Created by cdegrel on 7/17/2024 in #support
LocalStorage Hydration Mismatch
Thank you for the speed and explanation. I'm going to try it right away(Modifié)Restaurer la traduction d'origine
11 replies