Title: JavaScript chat summary, May 14th, 2019
Author: Omar Reiss
Published: May 21, 2019

---

 [  ](https://profiles.wordpress.org/omarreiss/) [Omar Reiss](https://profiles.wordpress.org/omarreiss/)
8:03 am _on_ May 21, 2019     
Tags: [core-js ( 131 )](https://make.wordpress.org/core/tag/core-js/),
[corejs ( 8 )](https://make.wordpress.org/core/tag/corejs/), [javascript ( 130 )](https://make.wordpress.org/core/tag/javascript/),
[JS ( 5 )](https://make.wordpress.org/core/tag/js/)   

# JavaScript chat summary, May 14th, 2019

**Below is a summary of the discussion from last week’s JavaScriptJavaScript JavaScript
or JS is an object-oriented computer programming language commonly used to create
interactive effects within web browsers. WordPress makes extensive use of JS for
a better user experience. While PHP is executed on the server, JS executes within
a user’s browser. [https://www.javascript.com](https://www.javascript.com/) chat(
[ag](https://docs.google.com/document/d/1jMm8YRSTtPZuoYCL_PJQHbZQp3ugCtFTL0rYvB9lnZo/edit)
[e](https://docs.google.com/document/d/1bD8JWL1J4wdOOs2sWkZRybkKTAdNkDbvmiqeeVTzrZE/edit?usp=sharing)
[nda](https://docs.google.com/document/d/19xXX0fr2F0n1JE2DSYJCN8mnoEp5BH65z1iPvpGPrVc/edit?usp=sharing),
[Slack Transcript](https://wordpress.slack.com/archives/C5UNMSU4R/p1557842405328100)**)

Have a topic for discussion for the next meeting? Leave a suggested edit on [this week’s agenda](https://docs.google.com/document/d/1h21-24QSi02QXr3qMqUAkzpT4B02Ep3ZKKI2qhgwUUw/edit?usp=sharing).

## Agenda: **ReactReact React is a JavaScript library that makes it easy to reason about, construct, and maintain stateless and stateful user interfaces. 󠀁[https://reactjs.org](https://reactjs.org/)󠁿 HooksHooks In WordPress theme and development, hooks are functions that can be applied to an action or a Filter in WordPress. Actions are functions performed when a certain event occurs in WordPress. Filters allow you to modify certain functions. Arguments used to hook both filters and actions look the same. for Data**

[Slack Conversation](https://wordpress.slack.com/archives/C5UNMSU4R/p1557842514329900)

We discussed an [issue to introduce a ](https://github.com/WordPress/gutenberg/issues/15473)`
[useSelect](https://github.com/WordPress/gutenberg/issues/15473)`[ React hook to the ](https://github.com/WordPress/gutenberg/issues/15473)`
[@wordpress/data](https://github.com/WordPress/gutenberg/issues/15473)`[ package](https://github.com/WordPress/gutenberg/issues/15473).
The discussion focused on determining what the best APIAPI An API or Application
Programming Interface is a software intermediary that allows programs to interact
with each other and share data in limited, clearly defined ways. would be and a 
concern was raised to investigate the potential performance impact. We agreed it
would be best to have a single `useSelect` function which allows to pass in a mapping
callback for more complex conditional type use-cases involving multiple selectors/
stores. We could create utility functions for simple cases.

## Open floor: Node compatibility

The version of `node-sass` we use isn’t compatible with Node 12.x. [A PR to update ](https://github.com/WordPress/gutenberg/pull/15613)`
[node-sass](https://github.com/WordPress/gutenberg/pull/15613)`[ to a compatible version](https://github.com/WordPress/gutenberg/pull/15613)
is now merged.

[#core-js](https://make.wordpress.org/core/tag/core-js/), [#corejs](https://make.wordpress.org/core/tag/corejs/),
[#javascript](https://make.wordpress.org/core/tag/javascript/), [#js](https://make.wordpress.org/core/tag/js/)

### Share this:

 * [  Threads ](https://make.wordpress.org/core/2019/05/21/javascript-chat-summary-may-14th-2019/?share=threads)
 * [  Mastodon ](https://make.wordpress.org/core/2019/05/21/javascript-chat-summary-may-14th-2019/?share=mastodon)
 * [  Bluesky ](https://make.wordpress.org/core/2019/05/21/javascript-chat-summary-may-14th-2019/?share=bluesky)
 * [  X ](https://make.wordpress.org/core/2019/05/21/javascript-chat-summary-may-14th-2019/?share=x)
 * [  Facebook ](https://make.wordpress.org/core/2019/05/21/javascript-chat-summary-may-14th-2019/?share=facebook)
 * [  LinkedIn ](https://make.wordpress.org/core/2019/05/21/javascript-chat-summary-may-14th-2019/?share=linkedin)

# Post navigation

[← WordPress 5.2.1-RC2](https://make.wordpress.org/core/2019/05/20/wordpress-5-2-1-rc2/)

[Editor Chat Agenda: May 22nd →](https://make.wordpress.org/core/2019/05/22/editor-chat-agenda-may-22nd/)