skip to Main Content

Firebase – How to connect firestore

I am new to firebase and I am trying to use firestore to get data for my next.js app but get an error. Here is the error: TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11730:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { cause: AggregateError at…

VIEW QUESTION

Flutter – One widget focused StreamBuilder refresh whole screen

I have this widget. class YourStreamBuilder extends StatefulWidget { final String postId; const YourStreamBuilder({Key? key, required this.postId}) : super(key: key); @override State<YourStreamBuilder> createState() => _YourStreamBuilderState(); } class _YourStreamBuilderState extends State<YourStreamBuilder> { @override Widget build(BuildContext context) { return StreamBuilder<DocumentSnapshot>( stream: FirebaseFirestore.instance…

VIEW QUESTION
Back To Top
Search