hydrogen icon indicating copy to clipboard operation
hydrogen copied to clipboard

[Docs] Write about how to use context in Hydrogen

Open jplhomer opened this issue 3 years ago • 2 comments

  • Talk about using regular context in client components
  • Talk about workarounds for lack of server-only context (dependency injection, importing modules in other parts of the tree)

jplhomer avatar Jun 02 '22 14:06 jplhomer

Hi Josh! I wouldn't mind taking a stab at this if it's not already being worked on internally. I've taken some notes as I've been building out our store and just migrated from pre-1.0 to 1.0.2. Happy to cut my teeth on documentation and contribute to the project.

beardage avatar Jul 13 '22 06:07 beardage

@beardage that would be great! Maybe start with an outline or rough draft and I can help fill in the holes.

blittle avatar Jul 13 '22 17:07 blittle