L
L
lavezzi12016-01-27 15:05:36
JavaScript
lavezzi1, 2016-01-27 15:05:36

Is it possible to build interfaces with React.js?

Hello.
I came across UI framework https://www.lightningdesignsystem.com from SaleForce. Very interested in the structure and implementation.
How are component pages generated?
I noticed that every class on the page has a data-reactid="0.0" attribute .
And also in the project repository there are such constructions:

module.exports = (
  <div className={pf('text-heading--medium')}>
    The quick brown fox jumps over the lazy dog.
  </div>
  );

Please tell me how it works?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman_Kh, 2016-01-27
@Roman_Kh

This is done with React and React Router and then bundled with WebPack

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question