Re: Reactjs for Plone UI Toolbar

Asko Soukka <[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <[email protected]>
Nathan Van Gheem wrote:
> We're using React for docs in them mockup project and underscore
> templates(with jquery $('<html>') magic) basically everywhere else. We
> want to eventually move to using React. This has been in discussion.

Have you discussed / tried (pre)compiling React DOMs from HTML via JSX 
transform, or are HTML templates simply anti-pattern with React?

I'm not yet familiar with React, but the existing code in mockup-core 
looks scary (at least with TAL+METAL+XHTML background):

e.g. https://github.com/plone/mockup-core/blob/master/js/docs/page.js

Regards,
Asko

------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.