Blog

Salesforce – LWC – refreshView

When writing an Aura Lightning Component you can use the following to update data for standard components as detailed on this page: Unfortunately, with Lightning Web Components you cannot run the above code as is. Fortunately, you can easily modify the above to make it work in an LWC. All Read more…

By Chris West, ago
Blog

PHP Snippet – parse_jsonc()

A few months ago I wrote a quick post showing how to parse JSONC (JSON with comments) files in JavaScript. Shortly thereafter I adapted the code to work in PHP as well: This function takes the same arguments that you can pass to the native json_decode() function. Besides removing JavaScript Read more…

By Chris West, ago