@EatCakeApp Feature Request: Can you guys add a Slash command to see how many cakes you have saved? Maybe a leaderboard command too! Awesome @SlackHQ app! Keep rocking
📝 Don't use functions as callbacks unless they're designed to be callbacks, and the same goes for option objects!
It might work fine today, but could break in the future.
https://t.co/zWvVerWuPj
Today I champion’d my first JavaScript proposal at TC39 and it’s now stage 1! 🎉
“JS Module Blocks” aka. “Surma *really* wants you to use workers”
https://t.co/eMZ8W0rmR2
(Thanks @gesa, @littledan and @_shu for all the help!)
@markjaquith SSR React component is rendered by PHP on page load. And ReactDOM.hydrate takes makes the component is interactive. It's pretty amazing. Not too mention how much easier it is to deploy and iterate. This is used in prod for a national grocery store with hundreds of locations.
@markjaquith From WP, send a POST request to the node service with the name, props, redux state. In 25-50ms, your React component is returned. For example, if this was called in a WP template, `<?php echo get_component( string 'ComponentName', array props, array reduxState); ?>`, a universal
@markjaquith - HMR
- Proxying wds updates to your localenv.test
- publicPath's that aren't hard-coded using __webpack_public_path__
- Enqueueing webpack assets based on a manifest file. With deps in the right order. Similar to the `mix` function
- Enabling hashing, dynamic imports in WP
#WCSATX is next month & we happy to announce our first round of speakers! Buy your ticket today! March 28-29 will be filled with incredible speakers, food and fun! Make sure to buy your ticket before we are sold out https://t.co/gAE22Bj3jY
TIL about the CSS media query `prefers-reduced-data`
💀🤘
If users have data saver on:
- deliver smaller images or just a gradient
- smarter <picture> <source>'s
- more!?
proposal
https://t.co/jOlfkfRseS
spec
https://t.co/EpKtY7kEKz
rad work @hj_chen! 🎉