qortex-query
v2.2.0
Published
Framework-agnostic query cache & fetch registry (MFE friendly).
Maintainers
Readme
🎯 qortex-query
Framework-agnostic query cache. Set and read data from anywhere! 🧠
✨ What makes this special?
qortex-query lets you set and read data from anywhere - not just within a specific framework! Perfect for:
- 🔐 App core data - Authentication, user profiles accessible from anywhere
- 🎯 Cross-framework - Share data between React, Vue, vanilla JS, Node.js
- ⚡ Real-time apps - Push changes from anywhere, see them everywhere instantly
npm install qortex-query🔋 Persistence
qortex-query provides the Persister interface but no longer bundles a default implementation. This keeps the package extremely lean and framework-agnostic.
For persistence (localStorage, IndexedDB, etc.), we recommend using qortex-db/query:
import { createDB } from "qortex-db";
import { createQueryPersister } from "qortex-db/query";
import { setDefaultConfig } from "qortex-query";
const db = createDB({ name: "myapp", driver: "indexedDB" });
setDefaultConfig({
persister: createQueryPersister(db)
});📚 Documentation
Complete documentation, examples, and API reference available at:
🌐 qortex.darshannaik.com
📄 License
LGPL-3.0 License - see LICENSE file for details.
🎯 Support
Need help? Have questions? Want to chat about data fetching strategies?
- 📚 Documentation: qortex.darshannaik.com
- 📧 Email: darshannaik.com
- 🐛 Issues: GitHub Issues
- 💬 Discussions: GitHub Discussions
- 🌟 Repository: https://github.com/Darshan-Naik/qortex
