react18-loaders
Version:
A comprehensive library that unleashes the full potential of React 18 server components, providing customizable loading animation components alongside a fullscreen loader container. Designed to seamlessly integrate with React and Next.js.
7 lines (6 loc) • 309 B
TypeScript
/**
* Server components and client components need to be exported from separate files as
* directive on top of the file from which component is imported takes effect.
* i.e., server component re-exported from file with "use client" will behave as client component
* */
export * from "./loader-container";