phryneas

phryneas/rehackt

JavaScript
30
2
MIT License

Rehackt is a lightweight wrapper around React that tricks Next.js’s static analysis into treating shared imports as safe for server‑only code. By swapping `import {…} from "react"` with `import {…} from "rehackt"` developers can place React hooks (e.g., `useState`) in modules that are also imported by server actions without triggering the “ReactServerComponentsError” during build. It’s aimed at library authors and advanced Next.js developers who need seamless inter‑op between client‑side React code and Next.js server actions.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of phryneas/rehackt

Account's avatar
TypeScript definitions for node
Account's avatar
React is a JavaScript library for building user interfaces.

Support the repos that depend on this repository

Top contributors

phryneas's profile
phryneas
28 contributions
lubieowoce's profile
lubieowoce
2 contributions
crutchcorn's profile
crutchcorn
1 contributions
sohcfst's profile
sohcfst
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet