Skip to content

Instantly share code, notes, and snippets.

View RinatValiullov's full-sized avatar
👷‍♂️
Looking for a job

Rinat Valiullov RinatValiullov

👷‍♂️
Looking for a job
View GitHub Profile
@RinatValiullov
RinatValiullov / import.js
Created November 19, 2019 11:42
For translation of article "Ionic React - First Look" - bit.ly/2QxRhXD
import { IonItem, IonLabel, IonDatetime, IonContent } from '@ionic/react';
@RinatValiullov
RinatValiullov / serve.md
Created November 19, 2019 11:41
For translation of article "Ionic React - First Look" - bit.ly/2QxRhXD
ionic serve
@RinatValiullov
RinatValiullov / project_type.md
Created November 19, 2019 11:41
For translation of article "Ionic React - First Look" - bit.ly/2QxRhXD
? Starter template: (Use arrow keys)
  blank      | A blank starter project
  sidemenu   | A starting project with a side menu with navigation in the content area
❯ tabs       | A starting project with a simple tabbed interface
  conference | A kitchen-sink application that shows off all Ionic has to offer
@RinatValiullov
RinatValiullov / start.md
Last active November 19, 2019 11:40
For translation of article "Ionic React - First Look" - https://bit.ly/2QxRhXD
npm i -g ionic

ionic start myapp

Please select the JavaScript framework to use for your new app. To bypass this prompt next time, supply a value for the
--type option.

? Framework: (Use arrow keys)
 Angular | https://angular.io
@RinatValiullov
RinatValiullov / minification_itself.js
Created November 15, 2019 08:54
For translation of article "Performance of JavaScript optional chaining" - https://bit.ly/33Pg0uv
function d(n,t,o,i,l){for(t=t.split?t.split("."):t,i=0;i<t.length;i++)n=n?n[t[i]]:l;return n===l?o:n}
@RinatValiullov
RinatValiullov / dlv3.js
Created November 15, 2019 08:52
For translation of article "Performance of JavaScript optional chaining" - https://bit.ly/33Pg0uv
dlv(foo, ['bar', 'baz', 'qux']);
@RinatValiullov
RinatValiullov / dlv2.js
Created November 15, 2019 08:52
For translation of article "Performance of JavaScript optional chaining" - https://bit.ly/33Pg0uv
d(u,'bar.baz.qux');
@RinatValiullov
RinatValiullov / dlv1.js
Created November 15, 2019 08:51
For translation of article "Performance of JavaScript optional chaining" - https://bit.ly/33Pg0uv
dlv(foo, 'bar.baz.qux');
@RinatValiullov
RinatValiullov / terser_version.js
Last active November 15, 2019 08:56
For translation of article "Performance of JavaScript optional chaining" - https://bit.ly/33Pg0uv
var l,n;null==u||null===(l=u.bar)||void 0===l||null===(n=l.baz)||void 0===n||n.qux
@RinatValiullov
RinatValiullov / babel_version.js
Last active November 15, 2019 08:56
For translation of article "Performance of JavaScript optional chaining" - https://bit.ly/33Pg0uv
var _foo, _foo$bar, _foo$bar$baz;
(_foo = foo) === null || _foo === void 0 ? void 0 : (_foo$bar = _foo.bar) === null || _foo$bar === void 0 ? void 0 : (_foo$bar$baz = _foo$bar.baz) === null || _foo$bar$baz === void 0 ? void 0 : _foo$bar$baz.qux;