JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q44648F
  • License MIT

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.

Package Exports

  • churro-test
  • churro-test/dist/cjs/index.js
  • churro-test/dist/esm/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (churro-test) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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