Tagline which is a sentence.
| // Immer | |
| // ... | |
| !function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r((e=e||self).immer={})}(this,function(e){"use strict";var r,t="undefined"!=typeof Symbol?Symbol("immer-nothing"):((r={})["immer-nothing"]=!0,r),n="undefined"!=typeof Symbol&&Symbol.for?Symbol.for("immer-draftable"):"__$immer_draftable",o="undefined"!=typeof Symbol&&Symbol.for?Symbol.for("immer-state"):"__$immer_state";function i(e){return!!e&&!!e[o]}function a(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e))return!0;var r=Object.getPrototypeOf(e);return!r||r===Object.prototype}(e)||!!e[n]||!!e.constructor[n])}var f=Object.assign||function(e,r){for(var t in r)l(r,t)&&(e[t]=r[t]);return e},s="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function c(e,r){ |
| const resetableEditableContext = () => { | |
| return { | |
| pushing: { | |
| updates: [], | |
| error: null, | |
| lastSuccess: null, | |
| }, | |
| pulling: { | |
| error: null, |
| const resetableEditableContext = () => { | |
| return { | |
| pushing: { | |
| updates: [], | |
| error: null, | |
| lastSuccess: null, | |
| }, | |
| pulling: { | |
| error: null, |
| license: apache-2.0 |
| function Parent(props) { | |
| return ( | |
| <> | |
| <Link to='/child'>Child</Link> | |
| <Route path='/child' component={Child}/> | |
| </> | |
| ); | |
| } | |
| function Child({match}) { |
| package main | |
| import ( | |
| "flag" | |
| "fmt" | |
| ) | |
| // An ServerOption configures our Server | |
| type ServerOption interface { | |
| apply(s *Server) // 😈 an option is now ours and ours alone to implement |
| // @flow | |
| import {useState, useEffect} from 'react'; | |
| // Hook | |
| export default function useLocalStorage(key, initialValue) { | |
| // State to store our value | |
| // Pass initial state function to useState so logic is only executed once | |
| const [storedValue, setStoredValue] = useState(() => { | |
| try { | |
| // Get from local storage by key |
| package util | |
| import ( | |
| "fmt" | |
| "strconv" | |
| "strings" | |
| "time" | |
| ) |
Tagline which is a sentence.
| func GetJSONFieldName(i interface{}, goFieldName string) string { | |
| field, ok := reflect.TypeOf(i).Elem().FieldByName(goFieldName) | |
| if !ok { | |
| return "" | |
| } | |
| tag, ok := field.Tag.Lookup("json") | |
| if !ok { | |
| return "" | |
| } | |
| commaIndex := strings.Index(tag, ",") |