yarn add webpack webpack-merge
Can be changed, but affects context
and resolve.modules
in webpack.common.js
:
├── config
/** | |
* Browse Google Chome Image Cache | |
* Navigate to chrome://cache/, then paste this into Console tab to browse images as a long feed | |
*/ | |
// 1. Filter out domains (optional; uncomment to enable) | |
// This shows how to only allow images from `twimg.com` | |
// | |
// var nonLinks = document.querySelectorAll('a') | |
// nonLinks.forEach(link => link.innerText.indexOf('twimg.com') !== -1 ? undefined : link.remove()); |
Examples of UI done well
componentDidMount()
. Avoid limiters like react-three
. Made Garbage 🌵.import { Observable } from 'rxjs/Observable'; | |
import 'rxjs/add/observable/fromEvent'; | |
import 'rxjs/add/operator/throttleTime'; | |
import 'rxjs/add/operator/debounceTime'; | |
export default { | |
data() { | |
resize$: {}, | |
}, | |
created() { |
# @contact = User contact information | |
# @project = Entire order, with budget, including multiple pieces | |
# Company Name if present; otherwise First Name + Last Name | |
company_name = @contact.company.present? ? @contact.company : "#{@contact.first_name} #{@contact.last_name}" | |
# 1. Create Account if not exists | |
account_id = salesforce.query("select Id from Account where Name = '#{j(company_name)}'")&.first&.Id | |
# 1a. Update if match | |
if account_id.present? |
SVGs are the future. SVG icon manifests are now widely-supported by all major browsers, but svg4everybody is still available as a polyfill if needed.
The SVG Manifest looks something like this (we’ll call this icons.svg
):
<svg xmlns="http://www.w3.org/2000/svg">