Почему стоит обратить внимание на ReasonML?!
https://blog.logrocket.com/what-makes-reasonml-so-great-c2c2fc215ccb
#javanoscript #reasonml
https://blog.logrocket.com/what-makes-reasonml-so-great-c2c2fc215ccb
#javanoscript #reasonml
LogRocket Blog
What makes ReasonML so great? - LogRocket Blog
ReasonML allows developers to write simple, high-quality, type-safe code while leveraging both the JavaScript and OCaml ecosystems.
Как работать с сайд-эффектами в чистом функциональном JavaScript коде.
https://jrsinclair.com/articles/2018/how-to-deal-with-dirty-side-effects-in-your-pure-functional-javanoscript/
#javascrtipt #codequality
https://jrsinclair.com/articles/2018/how-to-deal-with-dirty-side-effects-in-your-pure-functional-javanoscript/
#javascrtipt #codequality
Jrsinclair
How to deal with dirty side effects in your pure functional JavaScript
If you start learning about functional programming, it won’t be long before you come across the idea of pure functions. And as you go on, you will discover functional programmers appear to be obsessed with them. “Pure functions let you reason about your…
В TC39 выбрали название новому глобальному объекту, которое не должно поломать весь интернет - globalThis 😱
Казалось бы, только разобрались с Array.flatten и Array.flatMap и наследием MooTools…
https://github.com/tc39/proposal-global
#javanoscript
Казалось бы, только разобрались с Array.flatten и Array.flatMap и наследием MooTools…
https://github.com/tc39/proposal-global
#javanoscript
GitHub
GitHub - tc39/proposal-global: ECMAScript Proposal, specs, and reference implementation for `global`
ECMAScript Proposal, specs, and reference implementation for `global` - tc39/proposal-global
Vue Devtools 5 Beta позволяет редактировать Vuex-state, пишет историю Vue Router'а и умеет анализировать производительность!
https://www.telerik.com/blogs/whats-new-in-vue-devtools-5-beta
#javanoscript
#devtools
https://www.telerik.com/blogs/whats-new-in-vue-devtools-5-beta
#javanoscript
#devtools
Telerik Blogs
What's New in Vue Devtools 5.0 Beta
Debugging Vue apps just got better. Check out the features in the latest beta of Vue Devtools, including the new routing, performance and settings tabs.
Вышел Create React App 2.0 🎉
https://reactjs.org/blog/2018/10/01/create-react-app-v2.html
#javanoscript #react #devtools
https://reactjs.org/blog/2018/10/01/create-react-app-v2.html
#javanoscript #react #devtools
legacy.reactjs.org
Create React App 2.0: Babel 7, Sass, and More – React Blog
This blog site has been archived. Go to react.dev/blog to see the recent posts. Create React App 2.0 has been released today, and it brings a year’s worth of improvements in a single dependency update. While React itself doesn’t require any build dependencies…
Автор Vue.js Evan You делится планами развития фреймворка. Читайте статью, если хотите узнать чего ждать в Vue 3.0:
https://medium.com/the-vue-point/plans-for-the-next-iteration-of-vue-js-777ffea6fabf
#javanoscript
#vuejs
https://medium.com/the-vue-point/plans-for-the-next-iteration-of-vue-js-777ffea6fabf
#javanoscript
#vuejs
Medium
Plans for the Next Iteration of Vue.js
Last week at Vue.js London I gave a brief sneak peek of what’s coming in the next major version of Vue. This post provides an in-depth…
Тут некий Карлос написал на JavaScript майнер Bitcoin'ов и заопенсорсил это счастье, чтобы мы могли наконец-то разобраться как работает майнинг: 😱🔥
https://github.com/guerrerocarlos/bitcoin-miner
#javanoscript
https://github.com/guerrerocarlos/bitcoin-miner
#javanoscript
GitHub
GitHub - guerrerocarlos/bitcoin-miner: Super-slow yet very educative Bitcoin miner in Javanoscript/NodeJS
Super-slow yet very educative Bitcoin miner in Javanoscript/NodeJS - guerrerocarlos/bitcoin-miner
Пишем на Rust, компилируем в WebAssembly, запускаем на Node.js – новый скринкаст от egghead.io:
https://egghead.io/courses/using-webassembly-with-rust
#javanoscript #webassembly #rust
https://egghead.io/courses/using-webassembly-with-rust
#javanoscript #webassembly #rust
egghead
Using WebAssembly with Rust
Many languages work on a compilation story to WebAssembly, but Rust is already ready for primetime. Why?
Rust is a stable language and great replacemen...
Rust is a stable language and great replacemen...
Кому интересен GraphQL подключайтесь к стриму с конфы GraphQL Finland 🇫🇮
https://www.youtube.com/watch?v=aX-BxhkFd9g
Расписание тут - https://graphql-finland.fi/schedule/
#javanoscript #conference
https://www.youtube.com/watch?v=aX-BxhkFd9g
Расписание тут - https://graphql-finland.fi/schedule/
#javanoscript #conference
Вышел Angular 7 – подсказки в CLI, виртуальный скролл, драг-н-дроп, улучшения в доступности select-ов и производительности приложений:
https://blog.angular.io/version-7-of-angular-cli-prompts-virtual-scroll-drag-and-drop-and-more-c594e22e7b8c
#javanoscript #angular
https://blog.angular.io/version-7-of-angular-cli-prompts-virtual-scroll-drag-and-drop-and-more-c594e22e7b8c
#javanoscript #angular
Medium
Version 7 of Angular — CLI Prompts, Virtual Scroll, Drag and Drop and more
The 7.0.0 release of Angular is here! This is a major release spanning the entire platform, including the core framework, Angular Material…
Смотрим трансляцию React Conf Day 1, по слухам обещают React 17, но это не точно 😉
https://www.youtube.com/watch?v=kz3nVya45uQ
#javanoscript #reactjs
https://www.youtube.com/watch?v=kz3nVya45uQ
#javanoscript #reactjs
YouTube
React Conf Day1
Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.
Forwarded from Кулачок за фронтенд
Наткнулся недавно на простой и полезный хинт: дестрактинг можно удобно использовать при логировании: вместо того, чтобы писать
можно сделать так:
co
Раз уж залез в эту историю, давно хотел накидать краткую справку по консольному command line API (не всё, конечно, фрагментарно. С сортировкой в порядке субъективно значимой важности):
⟌ Постоянно пользуюсь:
◦ copy(
◦ keys(
◦ в $0-4
⟌ Порой использую:
◦ $(sel
◦ $_ в
⟌ Редко использую:
◦ clear
◦ dir()
⟌ Остальное (на практике не использую):
◦ debug
◦ inspe
◦ getEv
◦ monit
◦
◦
◦
console.log('obj1: ', obj1, 'obj2: ', obj2) можно сделать так:
co
nsole.log({obj1, obj2})
что сделает в общем, тоже самое. Также удобно логировать объект в console.table: console.table({obj}) — выведет таблицу в столбцах которой будут названия ключей, а в ячейках — значения. Раз уж залез в эту историю, давно хотел накидать краткую справку по консольному command line API (не всё, конечно, фрагментарно. С сортировкой в порядке субъективно значимой важности):
⟌ Постоянно пользуюсь:
◦ copy(
object) скопирует аргумент в буфер обмена. Чрезвычайно полезная фича, особенно в связке с «Store as global value» из контекстного меню.◦ keys(
), values() — алиасы для Object.keys и Object.values◦ в $0-4
хранятся ссылки на последние инспектированные DOM-элементы из Elements. На практике я пользуюсь только $0.⟌ Порой использую:
◦ $(sel
ector) и $$(selector) работают как алиасы для querySelector и querySelectorAll◦ $_ в
коносоли вернёт результат последнего вычисления⟌ Редко использую:
◦ clear
() (или хоткей Cmd+k, которым, в отличие от метода, пользуюсь постоянно) очистит консоль◦ dir()
— алиас для console.dir() — выведет в консоль представление аргумента в виде JS-объекта. Удобно для инспектирования DOM-элементов (для которых console.log отрисует просто ссылку на DOM-ноду, а dir — объект с атрибутами)⟌ Остальное (на практике не использую):
◦ debug
(function) — остановит выполнение сразу после попадания выполнения внутрь function. Отписаться можно с помощью undebug(). На практике не применяется.◦ inspe
ct(object/function) — откроет соответствующую вкладку — DOM-inspect для ноды или профилировщик — для функции◦ getEv
entListeners(object) вернёт все подписавшиеся на этот объект через addEventListeners коллбэки◦ monit
or(function) выведет в консоль «function ${functionName} called with arguments: ${arguments}» при каждом вызове функции. Отписаться можно с помощью unmonitor()
◦ monitorEvents(object[, events]) — аналогичный инструмент для инспектирования событий объекта◦
profile(id), profileEnd(id) — запустит и остановит профилировщик соответственно◦
table() — алиас для console.table, табличное представление выводимых данных◦
queryObjects(ConstructorName) — новое API — вернёт список всех инстансов ConstructorName. Например queryObjects(Promise) покажет все существующие на странице промисы. Работает также и с пользовательскими конструкторами и классами.Если вы ещё не пользуетесь npx то самое время посмотреть свежий скринкаст:
https://egghead.io/courses/execute-npm-package-binaries-with-the-npx-package-runner
#javanoscript #devtools
https://egghead.io/courses/execute-npm-package-binaries-with-the-npx-package-runner
#javanoscript #devtools
egghead
Execute npm Package Binaries with the npx Package Runner
You can’t be everywhere at once. Neither can node packages. But with a utility called npx — included in npm v5.2 and later — you can interact and run wi...
Если вы как и мы пропустили стримы с Angular Connect 2018 - смотрите 41 видео с конференции в этом плейлисте:
https://www.youtube.com/watch?v=rbFLorQWlOQ&list=PLAw7NFdKKYpGr_je48akFwcw8tYUk4nzlp
#javanoscript #angular #conferences
https://www.youtube.com/watch?v=rbFLorQWlOQ&list=PLAw7NFdKKYpGr_je48akFwcw8tYUk4nzlp
#javanoscript #angular #conferences
YouTube
Keynote | Igor Minar | AngularConnect 2018
Video sponsored by Rangle.io (https://rangle.io)
About Igor Minar
Igor is a software engineer at Google. He is a lead on the Angular project, practitioner of test driven development, open source enthusiast, hacker. In his free time, Igor enjoys spending…
About Igor Minar
Igor is a software engineer at Google. He is a lead on the Angular project, practitioner of test driven development, open source enthusiast, hacker. In his free time, Igor enjoys spending…
👍1
Деструктуризация объектов и каррирование в функциональном JavaScript-коде:
https://jrsinclair.com/articles/2018/currying-destructured-function-parameters-javanoscript/
#javanoscript
https://jrsinclair.com/articles/2018/currying-destructured-function-parameters-javanoscript/
#javanoscript
Jrsinclair
Object destructuring and currying in functional JavaScript
Currying is one of the most formidable weapons in our functional programming arsenal. Combined with composition, it’s extremely powerful. But is currying useful if you’re doing object destructuring with your function parameters?
Плейлист с докладами с недавно прошедшей JSConf US '18:
https://www.youtube.com/playlist?list=PL37ZVnwpeshGGVeMxXxCxjQZBJq5bqM7b
#javanoscript #conference
https://www.youtube.com/playlist?list=PL37ZVnwpeshGGVeMxXxCxjQZBJq5bqM7b
#javanoscript #conference
YouTube
JSConf US 2018 - YouTube