Hello,
I'd like to avoid having to use BlocBuilder all the time, but context.bloc<MyCubit>() does not trigger render. I've tried using Provider.of<MyCubit>(context, listen: true) but it does not work either.
Is there a way to trigger render without using BlocBuilder? Or someway to use provider package methods context.watch() and context.select() with this library?
Best regards.
Hi @giovanigm 馃憢
Thanks for opening an issue!
Currently, BlocBuilder is the preferred way to render widgets in response to state changes. Check out https://github.com/felangel/bloc/issues/1521 regarding adding selector support and provide additional context regarding why you feel BlocBuilder is not adequate if possible. Thanks! 馃憤
Hi @felangel, I just think provider's way to render through context extension methods are simpler than using a widget specifically for that, that's all. Thanks for the answer any way!