This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
project/src/index.html: input.match is not a function | |
[1] at placeholders (project/node_modules/posthtml-expressions/lib/placeholders.js:42:27) | |
[1] at concat.reduce (project/node_modules/posthtml-expressions/lib/index.js:195:27) | |
[1] at Array.reduce (<anonymous>) | |
[1] at walk (project/node_modules/posthtml-expressions/lib/index.js:167:27) | |
[1] at concat.reduce (project/node_modules/posthtml-expressions/lib/index.js:204:22) | |
[1] at Array.reduce (<anonymous>) | |
[1] at walk (project/node_modules/posthtml-expressions/lib/index.js:167:27) | |
[1] at concat.reduce (project/node_modules/posthtml-expressions/lib/index.js:204:22) | |
[1] at Array.reduce (<anonymous>) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { toPath } from "lodash"; | |
import { is, path, assocPath, always } from "ramda"; | |
import React, { useContext } from "react"; | |
import { useDispatch, useSelector } from "react-redux"; | |
import { Context, ReduxInputContext } from "./ReduxInputContext"; | |
/** | |
* ReduxInput connects any standard input component to the redux store where a | |
* "standard input component" is any component accepting e.g. value and onChange props. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Alpha Component</key> | |
<real>1</real> | |
<key>Blue Component</key> | |
<real>0.0</real> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import { connect } from 'react-redux' | |
import { Field, reduxForm, FieldArray, formValueSelector } from 'redux-form'; | |
const Animal = ({ name, isSelected }) => ( | |
<span> | |
<Field | |
name={`${name}.name`} | |
type="text" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
/*#preload img { | |
width: 1px; | |
height: 1px; | |
opacity: 0.01; | |
}*/ | |
</style> | |
<button>Toggle Image</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
THIS IS A Command run-through to get a browser to automatically update when there are changes to a project file. | |
# Reference Reading: http://gruntjs.com/getting-started#preparing-a-new-grunt-project | |
# https://github.com/gruntjs/grunt-contrib-watch/issues/75 | |
$ node -v | |
# success? continue : install node https://nodejs.org/ || $ nodenv versions ; $ nodenv global <version> (Boxen case) | |
$ npm -v | |
# success? continue : erm... ? | |
$ npm install -g grunt-cli | |
# That's the global stuff done. Now per project: |