reactive_forms icon indicating copy to clipboard operation
reactive_forms copied to clipboard

ReactiveFormSelector to select/filter rebuilds in widgets

Open sagnik-sanyal opened this issue 2 years ago • 3 comments

Hi there is there any existing way to filter rebuilds or select a particular property just like what Provider context.select() or the Selector Widget does ? This will help to cater unecessary rebuilds in widgets where we want to watch only a particular paramter of the FormGroup.

sagnik-sanyal avatar Jul 23 '23 06:07 sagnik-sanyal

Hi Check https://pub.dev/packages/reactive_forms_lbc

vasilich6107 avatar Jul 25 '23 08:07 vasilich6107

Hi @sagnik-sanyal @vasilich6107,

I'm planning to add the listeners (and not builders) as part of the core of Reactive Forms. I remember you talked to me about this in the past @vasilich6107 but at that time I didn't understand a real use case, sorry about that. What do you think about it? I will let you know when it is included. Thanks to both of you.

joanpablo avatar Jul 25 '23 13:07 joanpablo

New features are always nice to have)

vasilich6107 avatar Jul 25 '23 13:07 vasilich6107

With the latest version of reactive form >= 17.0.0 the reactive_forms_lbc library doesnt work and there is a dependency conflict Because reactive_forms_lbc >=2.0.0 depends on reactive_forms ^16.0.0 So we cant use the latest version @joanpablo

sagnik-sanyal avatar Apr 21 '24 08:04 sagnik-sanyal

With the latest version of reactive form >= 17.0.0 the reactive_forms_lbc library doesnt work and there is a dependency conflict Because reactive_forms_lbc >=2.0.0 depends on reactive_forms ^16.0.0 So we cant use the latest version @joanpablo

The lbc package is not in support by @joanpablo

vasilich6107 avatar Apr 21 '24 18:04 vasilich6107

Is there any way we can use this with the latest version of the plugin, or when we can expect an update of the dependencies of the lbc package ?

sagnik-sanyal avatar Apr 21 '24 18:04 sagnik-sanyal

Fixed with the newer version of lbc package

sagnik-sanyal avatar May 03 '24 13:05 sagnik-sanyal