Meet our MC 👋 – React Day Berlin – Medium

Meet the #ReactDayBerlin MC @robinpokorny:  #ReactJS #Jest

  • I’ve been working with React for almost 3 years now, and it led me to also try other functional languages, so in this sense, React was really helpful for my career.What do you think is the future of web and mobile development?That’s difficult to say.
  • There are a few initiatives that come to mind: For one, there’s WebAssembly with which you can have some really low level language in the browser, and that’s great, because we’ll be able to create more powerful stuff compared to nowadays, when we’re mostly dependent on JavaScript.The other improvement could…
  • What’s your most awaited feature in testing tools?Obviously, Jest will never be completely automated, on the other hand, if you look at snapshot testing, that kind of is Jest is doing a major part of the job, generating something that you only manage and approve changes.
  • I know how difficult it is to organize, how much time and effort you need, and I’m really grateful that someone experienced is bringing a React conference to Berlin, so I’m excited.
  • I hope it’s gonna be a lot of fun and I get to meet new people, see how they use React in their jobs.Where do you get your inspiration for being an MC?This is not the first time for me, and ever since I was one some time ago, I…

An MC can often make or break a conference, and we couldn’t be more grateful to Robin for taking up this challenge! In the following interview, we discuss his career in software development and his…
Continue reading “Meet our MC 👋 – React Day Berlin – Medium”

React 16, Enzyme 3, Jest 21 — The Triforce – Eduardo Rabelo – Medium

#ReactJS 16, Enzyme 3, Jest 21 — It’s time to update again!

  • React 16, Enzyme 3, Jest 21 — The TriforceWhat a week!
  • We saw the long awaited React 16 release:With great free content around new features:We also had the new version of Enzyme fixing a lot of annoying bugs:On top of that, for the surprise of the whole community, and especially, making the day more joyful for our omnipresent friend Dan Abramov,…
  • 1It is a marvellous work, congratulations everybody involved!It’s time to update your configuration, without much pain!I’ve prepared 2 examples:React 15.6.2, Enzyme 3.0.0 and Jest 21.2.1React 16.0.0, Enzyme 3.0.0 and Jest 21.2.1You don’t need to update to React 16 to use Enzyme 3 and vice-versa.
  • Let’s see a basic overview about the changes:Enzyme 3To better support others “React-like” libraries, Preact/Inferno, we’ve the new concept of Adapters.
  • They’re pluggable libraries, responsible for handle the rendering of the UI Library you’re using.Officially, Enzyme 3 was released with full support for React 13~16.

On top of that, for the surprise of the whole community, and especially, making the day more joyful for our omnipresent friend Dan Abramov, no more patents for React 15/16, Jest, Flow and friends: At…
Continue reading “React 16, Enzyme 3, Jest 21 — The Triforce – Eduardo Rabelo – Medium”

React is cool, deal with it – Medium

#React is cool, deal with it  #reactjs

  • We’re talking about three different files to fetch and display in a table in contrast to simply develop a “PropertyList” component and all related logic there.
  • If you were developing following MVC pattern you would first implement a Model which would represent the property and implement any related activity of API communication in that layer, add a route to a controller which would fetch the model and pass it to the view.
  • React is hard to learn, we’re all used to seeing javascript and html in different files, we’re all used to MVC and it lacks much functionality so you need to add some different things to handle routing, api calls, jsx support, etc..
  • Everybody knows how crazy javascript world has been lately releasing new tools faster than you can learn them, there’s one tool, React that markets itself as the V in MVC ( or at least it used to ) that slowly started to take over front-end development still i read about many people complaining with wrong arguments about why they don’t like it so i decided to talk about what is it that is so great about react.
  • With react you don’t write HTML, they implemented JSX which is a processor that lets you add xml style tags in javascript so instead of having a separate file for your scripts you write both the logic and the content in a single file.

Everybody knows how crazy javascript world has been lately releasing new tools faster than you can learn them, there’s one tool, React that…
Continue reading “React is cool, deal with it – Medium”

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?”

Putting your money where your package.json is – The Exponent Log

Put your money where your package.json is:  #JSON #ReactJS

  • If a maintainer stops working on a project that you use, maybe rather than getting annoyed with them for being lazy and irresponsible, reach out and see if some financial support would help them to allocate more time to the project.
  • But you can also support the people who work on projects that you use and love, or that you want to see grow and succeed .
  • @ HorcruxChen works on the project in his spare time, so I reached out to him and asked him to start a Patreon creator page so that we could pledge some money to him ($150/month currently) for as long as he continues to work on the project.
  • If you depend on a library and think it saves you time and money, or earns you money, and the creator is working on it in their spare time, consider reaching out to them and asking them to open up a Patreon account so you can support them.
  • A project that Janic Duplessis worked on for us, it seems that people really want it!

In Exponent SDK 9.0.0 we included react-native-svg into Exponent. react-native-svg is a fork of the built-in ReactNativeART that aims for…
Continue reading “Putting your money where your package.json is – The Exponent Log”