swappea
swappea
SSolidJS
Created by gsoutz on 7/17/2024 in #support
Is there any examples of making a library with vite that exports a Solid.js Component.
@bigmistqke - do you know how to export my .css files with this package? I see that it's present in the dist directory, but when I installed my library inot another project, it's not applying styles. So I did an import library/dist/index.css but vite says specifiier not found
6 replies
SSolidJS
Created by swappea on 10/29/2024 in #support
Should I use reconcile everytime I use produce?
const useReducer = (reducer, state) => { const [store, setStore] = createStore(state); const dispatch = (action) => { state = reducer(state, action); setStore(reconcile(state)); } return [store, dispatch]; }; I am using this reducer functionality as I have lot's of actions to deal with
5 replies