Replies: 5 comments
-
Rather, I think it's simpler and more correct to initialize the signal, instead of adding null coalescing wherever it's used:
|
Beta Was this translation helpful? Give feedback.
-
@robisim74 If your backend delivers something which can be null, you have to add a useComputed only for duplicating the same value. If it's to complex, we can work with it, but I was very confused seeing this files. |
Beta Was this translation helpful? Give feedback.
-
You can manage null values also in jsx (in my opinion more appropriate):
Note. You can't extend a library to cover every single case that occurs (because otherwise it would grow indefinitely). To implement a request you need to:
|
Beta Was this translation helpful? Give feedback.
-
Maybe I still not understand how the whole workflow is and I have to read it first. |
Beta Was this translation helpful? Give feedback.
-
Null coalescing inside
The solution to handle it in jsx has been provided, and therefore this discussion is closed. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
thank you so much for this awesome package.
if you have an optional value like this:
It seems to me, you extract 0 as key here, which is wrong. This way extract is creating 0.json file for each language containing:
I hope in the future I find some time to help you guys out, I really like the approach and except this small issue it works already quite fine.
Beta Was this translation helpful? Give feedback.
All reactions