Articles in the year 2018
Prop Destructuring In Vue Js
In a couple of recent tweets, Caleb Porzio demonstrated an easy way to pass Javascript object properties to a child component without declaring a separate prop for each property.
Here's how it works. Let's say that we have a Javascript object with several properties in the data object of a Vue JS component:
In a couple of recent tweets, Caleb Porzio demonstrated an easy way to pass Javascript object properties to a child component without declaring a separate prop for each property.
Here's how it works. Let's say that we have a Javascript object with several properties in the data object of a Vue JS component:
In a couple of recent tweets, Caleb Porzio demonstrated an easy way to pass Javascript object properties to a child component without declaring a separate prop for each property.
Here's how it works. Let's say that we have a Javascript object with several properties in the data object of a Vue JS component:
Here's how it works. Let's say that we have a Javascript object with several properties in the data object of a Vue JS component:
data() {
return {
post: {
id: 1,
name: 'Prop destructuring in Vue Js',
author: 'Carl Cassar'
}
};
}
In a couple of recent tweets, Caleb Porzio demonstrated an easy way to pass Javascript object properties to a child component without declaring a separate prop for each property.
Here's how it works. Let's say that we have a Javascript object with several properties in the data object of a Vue JS component:
data() {
return {
post: {
id: 1,
name: 'Prop destructuring in Vue Js',
author: 'Carl Cassar'
}
};
}
In a couple of recent tweets, Caleb Porzio demonstrated an easy way to pass Javascript object properties to a child component without declaring a separate prop for each property.
Here's how it works. Let's say that we have a Javascript object with several properties in the data object of a Vue JS component:
data() {
return {
post: {
id: 1,
name: 'Prop destructuring in Vue Js',
author: 'Carl Cassar'
}
};
}
Thank you for reading this article.
If you've made it this far, you might like to connect with me on 𝕏 where I post similar content and interact with like-minded people. If this article was helpful to you I'd really appreciate it if you would consider buying me a coffee.Tidying Tips
In a post called The Life Changing Magic of Tidying Up Code, Kent Beck outlines his philosophy on cleaning up code. The article results in a short list of easy-to-follow rules, which I'm sure he would agree are there to be broken.
What To Tidy is a follow-up post in which Kent goes on to describe specific patterns to look out for.
In a post called The Life Changing Magic of Tidying Up Code, Kent Beck outlines his philosophy on cleaning up code. The article results in a short list of easy-to-follow rules, which I'm sure he would agree are there to be broken.
What To Tidy is a follow-up post in which Kent goes on to describe specific patterns to look out for.
In a post called The Life Changing Magic of Tidying Up Code, Kent Beck outlines his philosophy on cleaning up code. The article results in a short list of easy-to-follow rules, which I'm sure he would agree are there to be broken.
What To Tidy is a follow-up post in which Kent goes on to describe specific patterns to look out for.
- If it’s hard, don’t do it
- Start when you’re fresh and stop when you’re tired
- Land each session’s work immediately
- Two reds is a revert
- Practice
- Isolate tidying
What To Tidy is a follow-up post in which Kent goes on to describe specific patterns to look out for.
In a post called The Life Changing Magic of Tidying Up Code, Kent Beck outlines his philosophy on cleaning up code. The article results in a short list of easy-to-follow rules, which I'm sure he would agree are there to be broken.
- If it’s hard, don’t do it
- Start when you’re fresh and stop when you’re tired
- Land each session’s work immediately
- Two reds is a revert
- Practice
- Isolate tidying
What To Tidy is a follow-up post in which Kent goes on to describe specific patterns to look out for.
In a post called The Life Changing Magic of Tidying Up Code, Kent Beck outlines his philosophy on cleaning up code. The article results in a short list of easy-to-follow rules, which I'm sure he would agree are there to be broken.
- If it’s hard, don’t do it
- Start when you’re fresh and stop when you’re tired
- Land each session’s work immediately
- Two reds is a revert
- Practice
- Isolate tidying
What To Tidy is a follow-up post in which Kent goes on to describe specific patterns to look out for.
Thank you for reading this article.
If you've made it this far, you might like to connect with me on 𝕏 where I post similar content and interact with like-minded people. If this article was helpful to you I'd really appreciate it if you would consider buying me a coffee.Reset Your Laravel App In Seconds
In his recent talk about Laravel Nova at Laracon US, Taylor Otwell used a nice little shortcut to reset his demo app during the presentation. To reset an app in our local environment, we need to do three things:
Drop the database.
Migrate the database.
Seed the database.
As of Laravel 5.5, we've been able to to use the following command to perform all three actions at once:
In his recent talk about Laravel Nova at Laracon US, Taylor Otwell used a nice little shortcut to reset his demo app during the presentation. To reset an app in our local environment, we need to do three things:
Drop the database.
Migrate the database.
Seed the database.
As of Laravel 5.5, we've been able to to use the following command to perform all three actions at once:
In his recent talk about Laravel Nova at Laracon US, Taylor Otwell used a nice little shortcut to reset his demo app during the presentation. To reset an app in our local environment, we need to do three things:
Drop the database.
Migrate the database.
Seed the database.
As of Laravel 5.5, we've been able to to use the following command to perform all three actions at once:
As of Laravel 5.5, we've been able to to use the following command to perform all three actions at once:
In his recent talk about Laravel Nova at Laracon US, Taylor Otwell used a nice little shortcut to reset his demo app during the presentation. To reset an app in our local environment, we need to do three things:
As of Laravel 5.5, we've been able to to use the following command to perform all three actions at once:
In his recent talk about Laravel Nova at Laracon US, Taylor Otwell used a nice little shortcut to reset his demo app during the presentation. To reset an app in our local environment, we need to do three things:
As of Laravel 5.5, we've been able to to use the following command to perform all three actions at once: