Open jlahijani opened 1 year ago
Right now, we can assign a setting variable (specifically a string) like so: setting('foo', 'bar');
setting('foo', 'bar');
Later in my code I may want to update foo to be bar baz. Right now I have to do this: setting('foo', setting('foo').' baz');
foo
bar baz
setting('foo', setting('foo').' baz');
That's less than ideal. Would there be some way to make it nicer?
What is your exact use case? Maybe there are other options, like using WireData instead?
Right now, we can assign a setting variable (specifically a string) like so:
setting('foo', 'bar');
Later in my code I may want to update
foo
to bebar baz
. Right now I have to do this:setting('foo', setting('foo').' baz');
That's less than ideal. Would there be some way to make it nicer?