churro-test
v3.0.0
Published
This is a theme library that allows you to know the user's theme preference on the server and allow you to server pages with no hydration errors.
Downloads
159
Maintainers
Readme
Have a create fucntion that has configs the creates a singelton with all the coonfigs incuding change theme function. Everything else is normal and add conffig file as bonus. Make system optional
separate the themeProvider into serverTheme and check if child is a fucntion to pass typed cookie or just force cookie rpop imto child. then add custom function props. make this like the useServerState.
maybe give optiom for target and no custom function.
use nextjs to check speed of this verses next themes
rename to nextservertheme
add a cli for everything espeically to mofiy types in file add remove and reset types
maybe try to support non app dir
need to actually install lirbary and not custom way when finsihed
maybe cache line at where theme is in cli