Migration FAQ
Common questions about migrating from npm packages to CLI components.General Questions
Do I still need @replyke/react-js?
Do I still need @replyke/react-js?
Yes. The CLI components are UI only. They depend on
@replyke/react-js for data fetching, caching, authentication, and core functionality.Can I use both npm and CLI components?
Can I use both npm and CLI components?
Not recommended. Pick one approach per project. Mixing them will be confusing and increase bundle size.
What if I've heavily customized styleCallbacks?
What if I've heavily customized styleCallbacks?
You’ll need to manually apply your customizations to the source files. Use the Mapping Guide to find where each callback maps to.The benefit: You’ll have even more control since you can customize anything, not just exposed callbacks.
Will my existing entities/comments still work?
Will my existing entities/comments still work?
Yes. The backend data is unchanged. CLI components use the same APIs and data models.Your existing comments, votes, and user data will work seamlessly.
Do I need to migrate immediately?
Do I need to migrate immediately?
No, but recommended. The old npm packages are deprecated but still functional. Migrate when convenient.New features and improvements will only be added to CLI components going forward.
Technical Questions
Can I publish my customized components?
Can I publish my customized components?
Yes! It’s Apache 2.0 licensed. You can fork, modify, and even publish your own variant.
How do I get updates?
How do I get updates?
Currently: Re-run
add to a different directory and manually merge changes.Future: A diff command will show what changed, making updates easier while preserving customizations.Does this work with Next.js / Remix / Gatsby?
Does this work with Next.js / Remix / Gatsby?
Yes. CLI components are just React components. They work with any React framework.
Does this work with TypeScript?
Does this work with TypeScript?
Yes. All component files are
.tsx with full type annotations.Can I convert between styled and tailwind?
Can I convert between styled and tailwind?
Manually, yes (rewrite styles). Automatically, not yet.Recommendation: Choose wisely during
init. If you need to switch, delete components and re-add with new configuration.Customization Questions
Where do I start with customizations?
Where do I start with customizations?
- Colors: Search for hex codes or Tailwind classes and replace
- Layout: Edit main component files (threaded-comment-section.tsx, etc.)
- Functionality: Edit component files and hooks
I broke something. How do I reset?
I broke something. How do I reset?
Option 1: Use version control (git) to revert your changesOption 2: Delete and reinstall
Can I customize individual files without breaking updates?
Can I customize individual files without breaking updates?
Since there’s no automatic update system yet, you won’t “break” updates.When updates become available, you’ll manually merge changes into your customized files.Tip: Comment your customizations clearly:
Support
Where can I get help?
Where can I get help?
- Documentation: docs.replyke.com
- Discord: discord.gg/replyke
- GitHub Issues: github.com/replyke/cli
Can I contribute?
Can I contribute?
Yes! The components are open source. Contributions welcome:
- UI improvements
- New component variants
- Bug fixes
- Documentation improvements

