Back to Docs
Guides & Tutorials
Step-by-step guides to help you master BlogFlow
- •Install the SDK: npm install @blogflow/sdk
- •Create a BlogFlow client in your server component
- •Fetch posts using getPosts() or getPaginatedPosts()
- •Use ISR caching for better performance
- •Pass data to client components for interactive features
- •Set defaultLanguage when creating the client
- •Use lang parameter in API calls: { lang: 'en' }
- •Supported languages: en, zh, es, fr, de, ja, ko
- •Server-side search works with language filtering
- •React hooks support language switching
- •Use Server Components for initial data fetching
- •Implement ISR caching with appropriate revalidate times
- •Use generateStaticParams for static page generation
- •Leverage server-side search for better indexing
- •Ensure proper meta tags and structured data
- •Configure custom baseUrl for different environments
- •Use theme system for styling customization
- •Implement custom error handling strategies
- •Set up cache tags for on-demand revalidation
- •Combine server and client components for hybrid architecture