Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If obx has one extra parenthesis #2726

Open
Yusufihsangorgel opened this issue Mar 5, 2023 · 1 comment
Open

If obx has one extra parenthesis #2726

Yusufihsangorgel opened this issue Mar 5, 2023 · 1 comment

Comments

@Yusufihsangorgel
Copy link

If obx has one extra parenthesis, the variables are not rested, for example, if I wrap the widget with Obx(() =>, the Rx type variables in the widget are listening, but if i wrap Obx((() => does not listening. If one extra parenthesis is put, it can cause an error maybe next feature.

my current get version is get: ^4.6.5

@jonataslaw
Copy link
Owner

Hi Yusufihsangorgel, could you tell me in which situation you need an extra parenthesis? I would recommend never doing this, including the linter often removes unnecessary parentheses, but if you have a specific case, I can analyze it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants