Onlyil Lin
Onlyil Lin
> ``` > const parse = (url) => { > const l = new URL(url).searchParams; > const _params = {}; > l.forEach((k,v) => _params[k] = v); > return _params >...
```javascript const render = (template, context) => { const getVal = (obj, props) => { if (props.length === 0) { return obj } return getVal(obj[props.shift()], props) } return template.replace(/\{\{\s*(\w+(\.\w+)*)\s*\}\}/g, (p1,...
This is a very confusing question indeed, and it remains open after two years, so i add `"typescript.preferences.jsxAttributeCompletionStyle": "none"` to settings.json