Application Review
Provide Project Info
Select Payment Term
Review Financing Summary
Use the following to skip / remove a file from being updated by git | |
> git update-index --skip-worktree <filename> | |
Use the following to see which files are currently being skipped / ignored | |
> git ls-files -v . | grep ^S | |
Use the following to revert the skip | |
> git update-index --no-skip-worktrree <filename> | |
{ | |
"type": "FeatureCollection", | |
"features": [ | |
{ | |
"type": "Feature", | |
"properties": { | |
"name": "Portland Office Traversal", | |
"tags": [ | |
"portland-office-traversal" | |
], |
{ | |
"type": "FeatureCollection", | |
"features": [ | |
{ | |
"type": "Feature", | |
"properties": { | |
"name": "Portland Office", | |
"tags": [ | |
"portland-office-alt" | |
], |
{ | |
"type": "FeatureCollection", | |
"features": [ | |
{ | |
"type": "Feature", | |
"properties": { | |
"name": "Portland Office", | |
"tags": [ | |
"portland-office-alt" | |
], |
const initialState = { | |
pricingPlans: [], | |
pricingPlansWithRepayment: [], | |
selectedOptionIdentifier: null, | |
selectedPreviewOptionIdentifier: null, | |
error: {}, | |
}; | |
function reducer(state = initialState, action = {}) { | |
switch (action.type) { |
export function showAllPlans(state = false, action = {}) { | |
switch (action.type) { | |
case TOGGLE_ALL_PLANS: | |
return action.showAllPlans; | |
default: | |
return state; | |
} | |
} | |
export function maxProjectAmounts(state = [], action = {}) { |
JS Modules are file-based, meaning one module per file.
Modules are singletons, meaning there's always only one instance of the module (and it's state).
Named Exports
export function foo() { ... }
export let bar = 23;
const baz = [1, 2, 3];
export { baz };