Skip to content

Variant of Reacts server-only that considers node environments server.

License

Notifications You must be signed in to change notification settings

nobu-sh/server-only

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

server-only

Version of React's server-only that doesn't throw an error when used in node runtime. Useful in monorepos where shared packages shouldn't be exposed to client code but are used in both react-server and node runtimes.

About

Variant of Reacts server-only that considers node environments server.

Resources

License

Stars

Watchers

Forks

Packages

No packages published