Closed crisberrios closed 4 months ago
I removed the example, but contribution welcome to create a community example under your name that showcases using vike-react with a well-known store (Redux, Zustand, ...) We can then add it to vike.dev
.
I rebased and moved out the rimraf
change to be a separate commit outside this PR.
This PR adds a custom hook
onBeforeRenderClient
, enabling custom logic to run before the render pass on the client side.This addresses #110 and works the same as #96
It also includes a minimal example with async data fetching on the server side and store hydration on the client pass.
An additional change includes adding
rimraf
package to allow building on a Windows environment w/o having to resort to WSL or 3rd party CLI tools.