CloseIT DevTips June 2020

30. June 2020

Here we go again. The last day of June and you can read interesting topics from the development world that we have read this month.

My Awesome React/Redux Structure

Learn how to architect a React/Redux application in a classy way.

Link to the blog post.

Sequelize

Sequelize is a promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server. It features solid transaction support, relations, eager and lazy loading, read replication and more.

Link to the post.

Application lifecycle diagram

Recoil: State Management for Today's React

ReactEurope presents an approach to state management that scales from a single component to highly complex apps.

YouTube link.

Using HTTP PATCH in Spring

This post demonstrates an approach to support HTTP PATCH with JSON Patch and JSON Merge Patch for performing partial modifications to resources in Spring. 

Link to the post.

State management for today's React

Falcon 9 od SpaceX létá na kapalný kyslík, letecký petrolej a Linux

Czech article about SpaceX software you can read here.

Do React Hooks Replace Redux?

When first reading about Redux, you may have questions about how it relates to React since both somehow handle the state of your application. Should you handle the state exclusively in Redux? Are React Hooks even useful? All of these questions are answered in the blog post.

Link to the blog bost.

SpaceX

Why is the 'anonymousUser' authenticated in Spring Security?

In the Spring Security framework the method

SecurityContextHolder.getContext().getAuthentication().isAuthenticated()

returns true for an anonymous user?The better way is to check it in this fashion:

if (SecurityContextHolder.getContext().getAuthentication() instanceof AnonymousAuthenticationToken) {
...
}

More info and discussion here.

LinkedIn Removed From Google's Index

And one marketing news: Google seems to have deindexed the main www results from LinkedIn.com. Also, with that, it seems the LinkedIn profile links for people knowledge panels are also gone.

Link to the post. 

site:www.linkedin.com

Author: Michal Jilka