The secret to being a top developer is building things! Here’s a list of fun apps to build!

  • Here’s a list of fun apps to build!You can only become a great developer by putting the effort in.
  • Keep it conflict free, use whatever you want!Project #1: Trello CloneTrello clone by Indrek Lasn — Demo LinkWhat you will learn from building a trello clone:RoutingDrag and dropCreating new objects (boards, lists, cards)Handling inputs and validationClient side path: How to use local storage, saving data to the local storage, reading data from the local…
  • What you will learn:Creating users, managing users,Interacting with a database — creating, reading, editing, deleting users.Input validation and how to work with formsProject #3: Cryptocurrency tracker (native mobile app)Github repositoryHAS to be a native app — Swift, Objective-C, React Native, Java, Kotlin allowed.
  • 😊What you will learn:How native apps work.Fetching data from an API.How native layouts work.How to work with mobile simulators.Use this API.
  • Post in comments if you find a better one.In case you’re interested in how this was built, I wrote a tutorial for it.Project #4: Setup your very own webpack config from scratchWell, technically this is not an app but it’s still extremely useful to understand how webpack works under the hood….

You can only become a great developer by putting the effort in. Imagine for a moment — You can’t become fit physically by reading a lot about fitness. You actually need to go to the gym and put the…
Continue reading “The secret to being a top developer is building things! Here’s a list of fun apps to build!”

Math: the React.js Way – Hacker Noon

Math: the React.js Way

☞ 

#reactjs #javascript

  • Math: the React.js WayHave you found yourself doing intense math problems using weird symbols like +, −, á, and×?
  • Thanks to react-real-math you can now harness the power of the React.js Virtual DOM to make your Math blazing🔥 fast!react-real-math provides an incredibly easy to understand API out of the gate, for free.
  • Let’s take a look at an example of react-real-math in action.
  • Consider this old-school almost obfuscated math problem:1+1×2=?
  • If you would like to contribute to react-real-math please check out the project’s

Have you found yourself doing intense math problems using weird symbols like +, −, ÷, and×? Do you enjoy the speed and developer experience of React.js? Thanks to react-real-math you can now harness…
Continue reading “Math: the React.js Way – Hacker Noon”

Rails, React and me – codeburst

  • It uses rails to include only JS and Webpack compiled files which was perfect match for the use case.Figuring solutions is always easy, The difficult part is to figure out the problemReact_on_rails has given the instructions to setup existing rails project so I started with them but ran into many…
  • In this particular case, figuring out the problem became worse as the errors were misleading.The Aha Moment: Devil was in the detailsFinally to figure out the problem I created a sample project from scratch using react_on_rails new project setup instructions and started comparing the generated code with my existing project.
  • This particular information turned out to be crucial to get out of the problem I was facing which I was not aware of at that time.SolutionTo solve this issue just change your API controller to base controller.
  • Though I would suggest to convert your entire rails-5 api only app to normal rails app.
  • Once you have resolved everything run$bundle installThis will convert your rails-5 API only app to rails app which can easily be integrated with react_on_rails.

Integration of react and rails using react_on_rails gem in an existing rails-5 api only project
Continue reading “Rails, React and me – codeburst”

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”

Math: the React.js Way – Hacker Noon

Math: the React.js Way

☞ 

#reactjs #javascript

  • Math: the React.js WayHave you found yourself doing intense math problems using weird symbols like +, −, á, and×?
  • Thanks to react-real-math you can now harness the power of the React.js Virtual DOM to make your Math blazing🔥 fast!react-real-math provides an incredibly easy to understand API out of the gate, for free.
  • Let’s take a look at an example of react-real-math in action.
  • Consider this old-school almost obfuscated math problem:1+1×2=?
  • If you would like to contribute to react-real-math please check out the project’s

Have you found yourself doing intense math problems using weird symbols like +, −, ÷, and×? Do you enjoy the speed and developer experience of React.js? Thanks to react-real-math you can now harness…
Continue reading “Math: the React.js Way – Hacker Noon”

Unit testing with Jest: Redux + async actions + fetch

  • Unit testing with Jest: Redux + async actions + fetchUsing Jest v20LAST UPDATE: June 24, 2017.
  • Ok, now, let’s test it step by step based on the WritingTests from the Redux docs.A big change here since I first wrote this article in 2016 is that Jest now does not mock your dependencies automatically like it used to.
  • /api’;import configureMockStore from ‘redux-mock-store’import thunk from ‘redux-thunk’const middlewares = [ thunk ];const mockStore = I am also going to write a helper method to mock the fetch response (we don’t need nock as suggested in the Redux Writing Test example):const mockResponse = (status, statusText, response) = { return new window.Response(response,…
  • Do you remember the import at the beginning of our example action code?import ‘whatwg-fetch’If you or your team forget to use the polyfill version of fetch, Chrome or FF will still work and you won’t notice it!
  • Thanks to the Redux docs for the great explanation of how we can test those async actions and for the mocha example (2017 note: They changed the example to use Jest!)

I have been using Jest since its beginnings. I won’t lie, the path has been painful: Things like updating from version 0.x.0 to version 0.y.0 (specially to version 0.4.0) was particularly terrible…
Continue reading “Unit testing with Jest: Redux + async actions + fetch”

Horizontal scroll animations in React Native – codeburst

  • Horizontal scroll animations in React NativeLink Animated with ScrollView to create a nice navigation UI animation in React NativeWhat we will be buildingRN lets you build a nice and smooth UIWhat you will needReact NativeSimulatorNo third party libraries required :)Creating Screen component with AnimatedFirst, import Animated, Dimensions, ScrollView, StyleSheet, Text, View from “react-native” .
  • Next, create a component that will be treated as a screen or a view.We are using Animated.View here because we are going to animate that wrapper component.That width ofscrollPage style and are important because we are going to interpolate horizontal scrolling values to multiple animation values.
  • In other words, we are going to track where the screen is and animate the screen component based on that value.It’s one of the things that are tricky to explain in words, but it is the key concept to understand for this to work.Basically, we link animations based on the…
  • When the scroll position is at 150, first screen is half way done exiting, and the second screen is half way done entering.Adding animationsSince they are all set up, it is time to write the animations.
  • You would have to write a different inputRange since FlatList removes items that scroll way off screen.I think this is pretty neat UI animation that’s pretty simple to use.

That width ofscrollPage style and transitionAnimation(props.index) are important because we are going to interpolate horizontal scrolling values to multiple animation values. In other words, we are…
Continue reading “Horizontal scroll animations in React Native – codeburst”