Financial tips and advice on investment for developers:
"Learn how to free extra monthly cash from your dev-salary for investment"
There are so many different ways to free money for investments without thinking of getting another job. Download my Top-15 cash-freeing tips cheat sheet.
Simple State Machine with Redux
2 Oct, 2018
The last days I am working on the project, which should include the state machine. Implementing this project with React, I decided to use the Redux framework to manage state in my React application. Moreover, thanks to redux store we can debug data (in one place) easily.
Front-end Shorts: Good Storytelling Elements
21 Apr, 2018
Happy Friday, my readers!
As a front-end web developer, I am also interested in UI/UX design, and that is why I’ve decided me to do a UI/UX research using Aristotle’s Seven Elements of Storytelling framework.
It is notably practical, and many designers, web developers, will benefit from applying this method for creating user-friendly interfaces.
In my opinion, it’s important to understand the users and to make it easier for them to use apps.
Front-end Shorts: Storybook With React
18 Apr, 2018
Hey there, that’s me again and a new post from me!
Lately, I worked on the project that generates live documentation of the front-end components for apps built with create-react-app, and this UI development environment is called Storybook.
What is the significant purpose for using this tool?
First of all, it helps to avoid code duplications and to make it easy to know which components there are already, what they are doing and how they are being used.
Front-end Shorts: How to Read Content From The File Input in React
31 Mar, 2018
Hi, everyone! How is your weekend going?
As you know, I prefer learning to code by doing things. So, the last feature I have implemented for the app is the reading of the content from the uploaded (local) .csv file from the user.
To do so without a server or any back-end—is a challenge.
To make things work properly in React+Redux, I have created the following component:
const ImportFromFileBodyComponent = () => { let fileReader; const handleFileRead = (e) => { const content = fileReader.
Front-end Shorts: How to Delete Item From The List With React+Redux
22 Mar, 2018
There are many possibilities how to remove multiple items from the array with JavaScript. So in this tutorial, I am going to share my approach to delete function with React+Redux.
It’s front-end shorts, and I am trying to highlight the most important information. Thus, just let’s have a look at the significant code snippets with explanations:
I have created the action:
// expenseActions.js export const t = { ... DELETE_EXPENSE: 'DELETE_EXPENSE', .
Front-end Shorts: Fetch List of Resources From REST-API
17 Mar, 2018
Today I am going to tell you how to get JSON data from the Rest-API to UI using React+Redux frameworks.
In my case, the task looks like:
I have a URL, for example: https://api.com/v1/expenses/ which will give the following JSON data, and I want to get this data in my UI.
To solve this task, I decided to use JavaScript’s fetch method. So in this way, I shouldn’t rely on any external libraries (given my target browsers are remotely up-to-date).
Front-end Shorts: Setting up React-Router-Redux
14 Mar, 2018
Hi, everyone! How is your week going?
Yesterday I worked with the web application written on React + Redux and had had some problem with the react-router-redux library. In short, the push method (using for navigation outside of components) didn’t work.
Firstly, I have tried to set the Route component in the “traditional” way such as with react-router library. That might get the history props. Unfortunately, that also didn’t work. Because of Redux framework.
Persisting data using local storage with React+Redux
10 Oct, 2017
Let’s continue developing an Interactive ToDo List. Refer to the previous posts you notice that we are almost done with the basic functionality of the application. And today I would like to start the topic about persisting the data and restoring it after refreshing the page or starting a new session on the local machine with React+Redux.
Changing into the my-daily-todos project, then to src folder where you find index.js. Here we store all the app’s state in the store variable.
Dynamic progress bar with React+Redux
6 Oct, 2017
Hi there! I am so happy that you continue developing our interactive Daily ToDo app with me. Today you are going to get to know how to implement a dynamic progress bar that will handle task completing status by percentage for every category.
But before moving on, if you are new here, please, have a look at the previous posts. You should start developing app there and then continue with us here.
Categorize tasks with React+Redux
1 Oct, 2017
The most valuable feature set for our Daily ToDo is already done. Today we are going to make an app more functional, separating tasks by categories. We want to be able to categorize task by typing # and category after its title.
For example: practice a coding kata #programming.
As always, we start with the simple user story and the acceptance criteria:
As Bob I want to categorize tasks by adding tag into input So I see which task belongs to which category ## Acceptance Criteria Given there are no tasks And I am on dashboard screen When I finish inputting a new task title And choose the category (tag) for a task And press Enter Then I see the categorized task by tag on the dashboard screen Tag examples: Programming, Sport, Languages, University, Reading, Routine If you are a new reader of the tutorial series and don’t understand what is going on at the moment, then just check the previous posts starting with React For Very Very Beginners