It’s just data

Web Components

Brian Leroux: ES6 and Web Components

Good overview.  Issues:

My take is that this talk lumps React in with others based on when it was introduced; but that it is fundamentally different from, say Angular.js as Angular.js is from jQuery.  Compared to the alternatives, react is more imperative, and is based on a virtual DOM.  It also can run in both the server and the client.

Brian suggests that you view source on http://brian.io/date-today/.  What you don’t see when you do that is today’s date.  I’d suggest that the ideal would be a page where you do see today’s date — even if JavaScript is disabled.  And for you to be able to interact with that page in ways that involve the server.

I have my own page on which I would suggest that you view source: calendar-demo (Update: that site is down, try this static snapshot).  Use the left and right arrow buttons to go to the previous and next months.  Viewing source reveals that the page is delivered pre-rendered, and only after the content is delivered are script libraries loaded.  Traversing to the next and previous months are pretty snappy despite the fact that there has been no optimization: in particular, there are no anticipatory prefetches.  Nor is data retained should you go back to a previous month.  Neither of these changes would be hard to implement.

Source is available in svn.  Check it out, do a bundle update to get the dependencies, run rake if you want to run a few tests, and run rackup to start a local server.

I must say that being able to define a component with all of the rendering, client, and server logic in one place is very appealing to me.

Brian suggests authoring source in ES6, and targeting ES5.  My preference would be to work towards building a language that is to ES6 as CoffeeScript is to ES5.  At the moment, my experimentation along those lines is happening in Ruby2JS.

React Native looks worth watching.  Perhaps as my calendar is using flexbox, I will be able to quickly build an Android or IOS equivalent.


I get a 403 Forbidden trying to access your calendar-demo.

Posted by Charles at

Bummer.  The system administration staff at the ASF took this down while debugging an unrelated problem.

Posted by Sam Ruby at

Oh awesome! Yes this talk is a big work-in-progress as the story unfolds. Key points where indeed key: Angular, Polymer and React all should be regarded as somewhat risky. YUI did have a good run but, in contrast, Dojo is still running. Facebook has stated to me that they want to see community stewardship for React, so that is positive.

HTML Imports: I jive with Mozilla on this one. Service Worker and ES6 Modules APIs are on the immediate horizon which means an HTML Imports could be be a library, even in its own Custom Element. mind blown

Why do I like Custom Elements? Well, it is a very tiny polyfill so it works everywhere that Angular Directives, React Components, Ember Components and other what-have-you things do, for less payload cost. The concept is good, and that code has the most likely path to standardization. That is what I like about 'em. YMMV.

I def don’t lump Custom Elements in with React. Now that said, a Virtual DOM is not a technology incapable of dissolving into the web platform. I kind of expect it (or something like it) will find its way into browsers. It wouldn’t be that much work to bolt a vdom on the Custom Element lifecycle, for someone else. ;)

And I have not even considered prerendering Custom Elements! Totally doable when a server is involved but not possible with a plain old static HTML page. Now that does seem like a bug. No easy answer there, but I am happy that the markup source does tell the correct story even if it takes javascript to do it. Tools like React and Ember create swaths of strange markup complete with generated ids and occasional inline styles.

Other languages: yes pls! Key suggestion there: distribute compiled ES5 source, ideally on npm, so I don’t have to learn your build pipeline or module system.

Last thought/spoiler alert: React Native is totally awesome. =)

Posted by Brian LeRoux at

Nice Web site, Continue the beneficial work. With thanks!. Super inarfmotive writing; keep it up.

Posted by WonderFox DVD Video Converter Crack at

There are links that really help me in solving the problems that I am currently facing. I am very grateful, I am waiting for your next link.

Cerita Sex
Foto Bugil
Video Sex
Bokep Indo
Bokep

Posted by www.kawanbercinta.com at

Thanx for sharing such useful post keep it up :)

Posted by CaseGurus.com at

Thanks a lot for the post. It has helped me get some nice ideas. I hope I will see some really good result soon.

Posted by Harvard case solution excel file at

Good way of telling, good post to take facts regarding my presentation subject matter, which i am going to deliver in my college

Posted by Economicskey.Com at

Hi buddy, your blog' s design is simple and clean and i like it. Your blog posts about Online Dissertation Help are superb. Please keep them coming. Greets!!

Posted by Do My SPSS Project at

Really i appreciate the effort you made to share the knowledge. This is really a great stuff for sharing. Keep it up . Thanks for sharing.

Posted by Medical Thesis Writing help at

The article you have shared here very good. This is really interesting information for me. Thanks for sharing!
hotmail login |hotmail sign in |free hotmail login

Posted by animal jam at

Those who come to read your article will find lots of helpful and informative tips

Posted by Nordictrack Treadmills Review at

Great Information,it has lot for stuff which is informative.  I will share the post with my friends.

Posted by BBA Capstone Project Help at

Wow i am so glade to see your site because it make my work easy

Posted by 99logo design  at

Thank you for taking the time and sharing this information with us. It was indeed very helpful and insightful while being straight forward and to the point.
www.mcdonaldsgutscheine.net | www.startlr.com | www.saludlimpia.com

Posted by Corinne Carey at

Thanks for share this blog with us.Really we appreciate after reading this post.

Posted by Universal Keygen Generator at

They are not able to finish the writing assignments on time. For some students, writing any writing assignments is able to waste their time

Posted by mathcadhelp.com at

This is really a great stuff for sharing. Thanks for sharing.

Posted by matlabhelp.com at

I appreciate your efforts and all the best.Got some appealing information and would like to give it a try. iPhone Price in Saudi Arabia

Posted by iPhone Price in Saudi Arabia at

Hi buddy, your blog' s design is simple and clean and i like it. Your blog posts about Online Dissertation Help are superb. Please keep them coming. Greets!!

Posted by https://www.dissertationwriting.uk/ at

Whipstitch will gyro does grow.

Posted by shoes in stock at

Add your comment