Browsed by
Tag: JavaScript

Looking for a good text editor in React?

Looking for a good text editor in React?

During the last few weeks, we have been working on a new app for Jira Service Desk. A core feature of the app is based on text edition, and that’s why we needed a good editor that supports the most known capabilities in a modern editor (basically a wysiwyg editor). During our search for a good component compatible with our app, we found this one https://github.com/jpuri/react-draft-wysiwyg To get started with the component is really easy and we have to say that…

Read More Read More

Benefits of using a linter in JavaScript

Benefits of using a linter in JavaScript

We can say that JavaScript is a “conflictive” language. It’s true that other languages also allow the developers to write some ugly code, but JavaScript is super permissive regarding coding style. The thing is worse when you are working in a team, basically because everyone can have a different style. It can lead to conflicts and an even uglier code. A good solution for this is to use a linter. A tool that will take you (and all the team)…

Read More Read More

How to auto populate fields with MongoDB and Mongoose

How to auto populate fields with MongoDB and Mongoose

In case you have used MongoDB and mongoose together, maybe you did find yourself in a situation similar to this: In this case, we have a Schema with a property called “platforms” which is basically an array of objects. The key point to be noticed here is that every “platform” is a model already defined in our project and what we are doing here is trying to maintain a relationship between an account and the platforms it’s valid for. If you are coming from…

Read More Read More