You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to update formatString code to handle dot accessor value?
Currently Supported and Working
let data = { firstName : "React", lastName : "Native" };
Example : formatString("Hello, {firstName} {lastName}", data),
Required
let data = { data : { firstName : "React", lastName : "Native" } };
example : formatString("Hie, {data.firstName} {data.lastName}", data).
It would be better if its handled by formatString itself.
The text was updated successfully, but these errors were encountered:
Is it possible to update formatString code to handle dot accessor value?
Currently Supported and Working
let data = { firstName : "React", lastName : "Native" };
Example : formatString("Hello, {firstName} {lastName}", data),
Required
let data = { data : { firstName : "React", lastName : "Native" } };
example : formatString("Hie, {data.firstName} {data.lastName}", data).
It would be better if its handled by formatString itself.
The text was updated successfully, but these errors were encountered: