menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

React

A community of developers, designers and others who love React.js. ⚛️

Channels
Team

Hype new React API is being shown by Dan Abramov at JSConf Iceland—let's watch…

March 1, 2018 at 8:12am

Hype new React API is being shown by Dan Abramov at JSConf Iceland—let's watch it together!

March 1, 2018 at 8:12am (Edited 5 years ago)
Dan Abramov and the other folks at Facebook have been hyping up a new React API they developed, but they haven't talked said what it's about at all. Dan's giving a talk at JSConf Iceland about that in one hour and thirty minutes, and it's being livestreamed!
Let's watch it together:
I'm so pumped, I can't wait to see what they've been working on!
Show previous messages

March 1, 2018 at 8:21am
Looking at that PR, they're adding a new <React.Timeout> component!
like-fill
1
oh damn, is it? I thought it was 10am my time, which is in 40 minutes
can't wait to see how its used
Wowww what do you think that does?
<React.Timeout duration={1000} callback={() => console.log('a second later')} />
(that's 100% not it haha)
Hahah. I'm seeing references to props.ms and props.children, so it seems to enable (or block?) some cool asynchronous behavior for your child components
guessing it is somewhat related to async stuff
"Hey folks, we know how much you love components soooo.. We made EVERYTHING components!"
like-fill
1
<Console log="Hello world" />
like-fill
2
"Oh and render props of course, who doesn't love those?!"
<GetElementById id="someId">
{elem => /* ... */}
</GetElementById>
like-fill
1
😂
well hey, some people really love that! React Router has a <Match> component which is basically an if statement in JSX
Did you guys listen to mjackson's react podcast last night? Dan didn't say much but small hints
No, he was very restrictive :P
No I didn't catch that one. All I saw were Dan's tweets. Very curious about what will be announced (especially since Im new to React)
What was intriguing for me is that he said "things that would take me hours to build before, I can now do in 30 minutes." Which is interesting because it makes it sound like a very generic react API, hopefully not something like silod to animation, which is sorta interesting but not for everyone.
Oh wow that does sound neat
is he the first presenter ?
I think he's the second if the schedule isnt wrong
Show more messages