B4J Question [BANano] [SOLVED] How can I BANano ReactJS?

Discussion in 'B4J Questions' started by Mashiane, Aug 1, 2019.

  1. Mashiane

    Mashiane Expert Licensed User

    Hi there

    I'm curious about ReactJS due to some possible implementations I might need to look at. I read that one can use JSX, but for pete's sake looking at this...

    Code:
    import React, { Component } from 'react';
    class App extends Component{
       render(){
          return(
             <div>
                <h1>Hello World</h1>
             </div>
          );
       }
    }
    export default App;
    and also this...

    Code:
    import React from 'react';
    import ReactDOM from 'react-dom';
    import App from './App.js';

    ReactDOM.render(<App />, document.getElementById(
    'app'));
    One's mind cracks..

    Could something like this be possible?
     
  2. Mashiane

    Mashiane Expert Licensed User

    The approach above uses JSX, the most used methodology to create Facebook React Apps.

    Following a DOM based approach is also possible, we are exploring this here.

    BANanoReact - A community project
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice