Which indentation style you prefer for JSX code?

Which indentation style do you prefer for JSX code? 🤔 #ReactJS #JavaScript

  • return (
    Content

    )

  • Marko Stijak asked a question · 17 hours ago
  • @mstijak looks interesting, but I’m a bit turned off by the inclusion of a component library.
  • If I’m going to use a library I tend to gravitate toward those that are more atomic in their scope, plus the Vue community is incredible 🙂
  • Mainly Multiline, although most times I enclose the jsx return between ( ) just for clarity ..

There are a couple of ways to indent JSX code. Which style you find to be the best:

One liners
return <div className="well" style={{ border: . One liners VS Line per attribute, regular indent VS Line per attribute, aligned VS Multiline.
Continue reading “Which indentation style you prefer for JSX code?”

React, Redux without Webpack :)

Get rid of webpack.config.js, build scripts and a ton of dev dependencies in #ReactJS proj.

  • > npm install -g react-app-tools > react-app new # Scaffold a new project > react-app start # Launch your React app
  • { ” private “: true , ” dependencies “: { ” react-app “: “^1.0.0″ , }, ” devDependencies “: { ” react-app-tools “: “^1.0.0″ , }, ” scripts “: { ” build “: “react-app build” , ” start “: “react-app start” , } }
  • Konstantin Tarkus wrote a story · 13 hours ago
  • Connect with influencers and smart developers.
  • Share your feedback or send me a direct message on Twitter , this will help to shape the core of this project and decide what features it should provide out of the box.

Read the full article, click here.


@Hashnoder: “Get rid of webpack.config.js, build scripts and a ton of dev dependencies in #ReactJS proj.”


Have you ever thought about getting rid of webpack.config.js, build scripts and a ton of dev dependencies in your React project? This might be possible wit.


React, Redux without Webpack 🙂

Is React Native going to be a future of cross-platform Mobile Development?

Do you think React Native is the future of mobile app development? 

#JavaScript #ReactJS

  • And there is some potential to share some code across platforms, but you won’t be able to build truly cross-platform apps without introducing a cross-platform layer atop React Native.
  • The place where software developers hang out.
  • Hashnode is a community of passionate software developers who love to stay up-to-date, relevant and connected.
  • React Native’s motto is “learn once, write anywhere”, implying that it’s not for building cross-platform apps, but it brings some overlap to the skill sets required to build native-ish mobile apps across multiple platforms.
  • Cross platform, yes, but might be different from what you think.

Read the full article, click here.


@Hashnoder: “Do you think React Native is the future of mobile app development?

#JavaScript #ReactJS”


There has been lot of hype and increasing adoption of React Native seen over the internet in last couple of months. In the React-Europe conference – the re. Tagged with ReactJS,React Native.


Is React Native going to be a future of cross-platform Mobile Development?