Vuex is amazing tool for Vue, and I’ve already written a post about one of its adoption in web application: to avoid multiple ajax requests from many component instances. Of course, there are many, many options how to use Vuex in our app, and the most common is standard store with modules data. It’s great, but there is one important problem: default state and option to reset state. Vuex doesn’t have build-in option to reset state to default, defined in store declaration, so many users write additional commits and mutations for that, or one, which copies the same props as initial state. It’s ok, but means, that we must duplicate the same code, and if we want to change initial state, we must also change reset method.Continue reading “Vue Vuex: reset store state to default / initial”
It was charity run in Legnica, one of the biggest cities in Lower Silesia, Poland. We ran to help Karolina – 24-years old, she has a cancer and fight to live. All proceeds from the registration fee were allocated to her treatment. Run was very nice: on city park of Legnica, and for me, very, very fast: I made my personal record. Absolute speed was a little smaller than on last run on Polkowice, but there was longer distance, so, it’s progress.
This post is very, very small tip about nice feature, that I recently disovered on PHPStorm, but it’s also available on other JetBrains software. All their IDEs supports projects, we can create a lot of them and open many in the same way in separate windows, or by replacing currently opened project. But when we try to do this – using File menu and option to open new project – there is one additional option, to attach project. What is it and what can we achive using this option?
When we attach two separate projects, we have both on project list and tree view, also, repositories are common, if names of branches are the same. If you will then try to change branch, for example from master to dev, IDE will do this for both repositories. If we want to commit changes and then push them, IDE will display all attached projects. It’s very nice options for much faster work: for example I can attach project for frontend and backend in the same time, and work in whole project, without any distractions, without chaning window, screens etc. Do you know any interesting features in these or similar IDEs? Write comment and describe them!
I don’t write software reviews often. It’s because I wrote a lot of reviews few years ago, when I worked in IT news websites as editor. Now have a lot of other things to do, but sometimes want to do an exception, because some software is worth to spend time for review. Good example is TickTick, “hero” of this post: small, but very nice app to manage tasks. I’ve used it for about a year and think, I can now write some words about it, also think it’s a good topic, because many people try to manage time, manage tasks and calendars, and there are a lot of similar tools. I’m minimalist and don’t need a lot of options, like asceticism and simplicity. You can find them on TickTick. One important information: it isn’t sponsored article, it’s my personal review.Continue reading “TickTick – tasks manager review”