{"id":287885,"date":"2018-08-16T14:18:34","date_gmt":"2018-08-16T10:18:34","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=287885"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=287885","title":{"rendered":"\u041f\u0438\u0448\u0435\u043c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0441 \u00ab\u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044c\u043d\u044b\u043c\u0438\u00bb \u043a\u043d\u043e\u043f\u043a\u0430\u043c\u0438 \u0434\u043b\u044f Svelte"},"content":{"rendered":"\n<div data-io-article-url=\"https:\/\/habr.com\/post\/418679\/\" class=\"post__text post__text-html js-mediator-article\">\u0412\u0434\u043e\u0445\u043d\u043e\u0432\u0438\u0432\u0448\u0438\u0441\u044c \u0441\u0442\u0430\u0442\u044c\u044f\u043c\u0438 <a href=\"https:\/\/habr.com\/post\/353896\/\">SvelteJS: \u0420\u0435\u043b\u0438\u0437 \u0432\u0442\u043e\u0440\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438<\/a>, <a href=\"https:\/\/habr.com\/post\/414869\/\">\u0418\u0441\u0447\u0435\u0437\u0430\u044e\u0449\u0438\u0435 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0438<\/a> \u0438 <a href=\"https:\/\/habr.com\/post\/417747\/\">Re: \u00ab\u0421\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 JS-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432: React, Vue \u0438 Hyperapp\u00bb<\/a>, \u043f\u0440\u043e \u00ab\u0438\u0441\u0447\u0435\u0437\u0430\u044e\u0449\u0438\u0439\u00bb \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a Svelte (\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u00ab\u0441\u0432\u0435\u043b\u0442\u00bb, <a href=\"https:\/\/habr.com\/post\/417747\/#comment_18908103\">\u0430 \u0442\u043e \u043c\u0430\u043b\u043e \u043b\u0438<\/a>), \u044f \u0437\u0430\u0445\u043e\u0442\u0435\u043b \u0435\u0433\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c. \u0418 \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0440\u0435\u0448\u0438\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0438\u043a \u0441 <a href=\"https:\/\/materializecss.com\/buttons.html\">\u043a\u043d\u043e\u043f\u043a\u0430\u043c\u0438 \u0438\u0437 Materialize<\/a>.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h2>\u0421\u043f\u043e\u0441\u043e\u0431 \u043f\u0435\u0440\u0432\u044b\u0439: \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0439<\/h2>\n<p>  \u0421\u0442\u0430\u0440\u0442\u043e\u0432\u044b\u0439 \u0448\u0430\u0431\u043b\u043e\u043d Svelte \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0432 \u0434\u0432\u0443\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430\u0445: \u0441 Webpack \u0438\u043b\u0438 \u0441 Rollup. \u042f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b Webpack, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043e\u043d \u043c\u043d\u0435 \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u0435\u0435. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430, \u0437\u0430\u043f\u0443\u0441\u043a \u2014 <a href=\"https:\/\/svelte.technology\/guide#getting-started\">\u0432\u0441\u0435 \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e<\/a>.<\/p>\n<p>  \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c Materialize \u0438 \u0438\u043a\u043e\u043d\u043e\u0447\u043a\u0438:<\/p>\n<pre><code class=\"bash\">npm install materialize-css@next npm install material-design-icons<\/code><\/pre>\n<p>  \u0412 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0432\u0441\u0435 \u044d\u0442\u043e \u0432 src\/main.js:<\/p>\n<pre><code class=\"javascript\">import 'material-design-icons\/iconfont\/material-icons.css'; import 'materialize-css\/dist\/css\/materialize.min.css';<\/code><\/pre>\n<p>  \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c file-loader, \u0447\u0442\u043e\u0431\u044b \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u0448\u0440\u0438\u0444\u0442\u044b (\u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e):<\/p>\n<pre><code class=\"bash\">npm install file-loader --save-dev<\/code><\/pre>\n<p>  \u0418 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0432 webpack.config.js:<\/p>\n<pre><code class=\"javascript\">{   test: \/\\.(woff(2)?|ttf|eot|svg)(\\?v=\\d+\\.\\d+\\.\\d+)?$\/,     use: [{       loader: 'file-loader',       options: {       name: '[name].[ext]',       outputPath: 'fonts\/'     }   }] }<\/code><\/pre>\n<h3>\u041f\u0438\u0448\u0435\u043c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442<\/h3>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0444\u0430\u0439\u043b src\/components\/Buttons.html \u2014 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u044d\u0442\u043e \u0438 \u0431\u0443\u0434\u0435\u0442 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442. \u0412 Materialize \u0434\u043b\u044f \u043a\u043d\u043e\u043f\u043e\u043a \u043f\u043e\u0447\u0435\u043c\u0443-\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0442\u0435\u0433 &lt;a&gt;, \u043f\u043e\u044d\u0442\u043e\u043c\u0443, \u0434\u043b\u044f \u0441\u0435\u043c\u0430\u043d\u0442\u0438\u0447\u043d\u043e\u0441\u0442\u0438, \u0431\u044b\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u0432\u0430 \u0432\u0438\u0434\u0430 \u043a\u043d\u043e\u043f\u043e\u043a: &lt;button&gt; \u2014 \u0435\u0441\u043b\u0438 \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0435\u0442, \u0438 &lt;a&gt; \u2014 \u0435\u0441\u043b\u0438 \u0441\u0441\u044b\u043b\u043a\u0430 \u0435\u0441\u0442\u044c. <\/p>\n<p>  \u041f\u0438\u0448\u0435\u043c \u0434\u0432\u0430 \u0448\u0430\u0431\u043b\u043e\u043d\u0430:<\/p>\n<pre><code class=\"javascript\">{#if href} \/\/ \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0430 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0441\u0441\u044b\u043b\u043a\u0438  &lt;a on:click class=\"{classes}\" {href} {title} &gt;   {#if icon} \/\/ \u0418 \u043d\u0430 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0438\u043a\u043e\u043d\u043a\u0438   &lt;i class=\"material-icons {iconAlign}\"&gt;{icon}&lt;\/i&gt;   {\/if}   &lt;slot&gt;button&lt;\/slot&gt; &lt;\/a&gt;  {:else}  &lt;button on:click class=\"{classes}\" {type} {name} {disabled} &gt;   {#if icon}   &lt;i class=\"material-icons {iconAlign}\"&gt;{icon}&lt;\/i&gt;   {\/if}   &lt;slot&gt;button&lt;\/slot&gt; &lt;\/button&gt;  {\/if}<\/code><\/pre>\n<p>  \u0417\u0434\u0435\u0441\u044c {classes} \u2014 \u0441\u043f\u0438\u0441\u043e\u043a \u043a\u043b\u0430\u0441\u0441\u043e\u0432, {href}, {title}, {type}, {name}, {disabled} \u2014 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b, \u0430 {iconAlign} \u0438 {icon} \u2014 \u043f\u043e\u0437\u0438\u0446\u0438\u044f \u0438 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0438\u043a\u043e\u043d\u043a\u0438. \u0410\u0442\u0440\u0438\u0431\u0443\u0442\u044b \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 (\u0442\u0430\u043c, \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c, \u044d\u043a\u0437\u043e\u0442\u0438\u043a\u0430 \u043e\u0441\u0442\u0430\u043b\u0430\u0441\u044c), \u043d\u043e \u0434\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e.<\/p>\n<p>  \u0410 on:click \u0434\u043e\u0431\u0430\u0432\u0438\u043c, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0442\u043e\u043c \u043a\u043b\u0438\u043a\u0438 \u043f\u043e \u043a\u043d\u043e\u043f\u043e\u0447\u043a\u0430\u043c \u043b\u043e\u0432\u0438\u0442\u044c. \u041f\u0440\u0438\u043c\u0435\u0440 \u0431\u0443\u0434\u0435\u0442 \u043d\u0438\u0436\u0435.<\/p>\n<p>  \u0414\u0430\u043b\u044c\u0448\u0435, \u0432 \u0441\u0435\u043a\u0446\u0438\u0438 &lt;script&gt; \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e-\u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043a\u043b\u0430\u0441\u0441\u043e\u0432 (computed):<\/p>\n<pre><code class=\"javascript\">  export default {     data() {       return {         color: '',         size: '',         iconAlign: 'left',         floating: false,         flat: false,         waves: false,         wavesColor: 'light',         icon: '', \/\/ \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0438\u043a\u043e\u043d\u043a\u0438         type: '',\/\/ \u0438 \u043d\u0443\u0436\u043d\u044b\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b         href: '',         name: '',         disabled: false,         title: ''       };     },     computed: { \/\/ \u0437\u0434\u0435\u0441\u044c \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043a\u043b\u0430\u0441\u0441\u043e\u0432       classes: ({ \/\/ \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u044f\u0435\u043c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043f\u0440\u0438 \u0432\u044b\u0437\u043e\u0432\u0435 \u043a\u043d\u043e\u043f\u043a\u0438         color,         size,         floating,         flat,         disabled,         waves,         wavesColor       }) =&gt; {         const classes = [];         flat ? classes.push(`btn-flat`) : classes.push(`btn`);         floating &amp;&amp; classes.push(`btn-floating`);         disabled &amp;&amp; classes.push(`disabled`);         waves &amp;&amp; classes.push(`waves-effect`);         wavesColor &amp;&amp; classes.push(`waves-${wavesColor}`);         size &amp;&amp; classes.push(`btn-${size}`);         color &amp;&amp; classes.push(`${color}`);         return classes.join(' ');       }     }   }; <\/code><\/pre>\n<p>  \u0412 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 <b>data()<\/b> \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e-\u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e, \u0430 \u0432 <b>computed<\/b> \u2014 \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043c\u0430\u0441\u0441\u0438\u0432 \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u0440\u0438 \u0432\u044b\u0437\u043e\u0432\u0435 \u043a\u043d\u043e\u043f\u043a\u0438. \u041f\u0440\u0438\u0447\u0435\u043c \u043f\u0440\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u044d\u0442\u0438\u0445 \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u0432\u0441\u0435 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0435\u0440\u0435\u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f. \u0420 \u2014 \u0440\u0435\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c.<\/p>\n<p>  \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0433\u043e\u0442\u043e\u0432. \u0412 src\/App.html \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0435\u0433\u043e:<\/p>\n<pre><code class=\"javascript\">&lt;script&gt;   import Button from '.\/components\/Buttons.html';    export default {     components: {       Button     }   }; &lt;\/script&gt;<\/code><\/pre>\n<h3>\u0421\u043e\u0431\u0438\u0440\u0430\u0435\u043c\/\u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u043a\u043d\u043e\u043f\u043a\u0438<\/h3>\n<pre><code class=\"javascript\">  &lt;Button waves&gt;&lt;\/Button&gt;   &lt;Button waves icon=\"cloud\" iconAlign=\"left\"&gt;&lt;\/Button&gt;   &lt;Button floating  waves size=\"large\" color=\"red\" icon=\"add\"&gt;&lt;\/Button&gt; <\/code><\/pre>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/li\/wv\/hl\/liwvhlpluuspv5z6lvip8tgccfc.png\"><\/p>\n<p>  \u0418\u043b\u0438 \u0441\u0441\u044b\u043b\u043a\u0438:<\/p>\n<pre><code class=\"javascript\">  &lt;Button href=\"#foo\" waves&gt; Link_0 &lt;\/Button&gt;   &lt;Button href=\"#bar\" waves icon=\"cloud\"&gt; Link_1 &lt;\/Button&gt;   &lt;Button href=\"#qux\" waves flat&gt; Link_2 &lt;\/Button&gt;   &lt;Button href=\"#baz\" waves icon=\"cloud\" iconAlign=\"right\"&gt; Link_3 &lt;\/Button&gt;   &lt;Button href=\"#foo\" waves floating size=\"large\" color=\"red\" icon=\"add\" \/&gt; <\/code><\/pre>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/xh\/6f\/r9\/xh6fr9qzdwggpprvtr0b81e9w5m.png\"><\/p>\n<h3>\u0421\u043e\u0431\u044b\u0442\u0438\u044f: \u043b\u043e\u0432\u0438\u043c \u043a\u043b\u0438\u043a<\/h3>\n<p>  \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e on:click \u043c\u043e\u0436\u043d\u043e \u043b\u043e\u0432\u0438\u0442\u044c \u043a\u043b\u0438\u043a\u0438 \u043f\u043e \u043a\u043d\u043e\u043f\u043a\u0435, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0442\u0430\u043a:<\/p>\n<pre><code class=\"javascript\">&lt;Button on:click=\"set({ count: count + 1 })\" waves&gt;Button++&lt;\/Button&gt; &lt;Button on:click=\"set({ count: count - 1 })\" waves icon=\"cloud\" iconAlign=\"left\"&gt;Button--&lt;\/Button&gt;<\/code><\/pre>\n<p>  \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432 \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u0434 \u0432 export default:<\/p>\n<pre><code class=\"javascript\">data() {       return {         count: 3       };     },<\/code><\/pre>\n<p>  \u0418 \u0433\u0434\u0435-\u043d\u0438\u0431\u0443\u0434\u044c \u044d\u0442\u043e\u0442 \u0441\u0447\u0435\u0442\u0447\u0438\u043a \u0432\u044b\u0432\u0435\u0441\u0442\u0438:<\/p>\n<pre><code class=\"javascript\">&lt;p&gt;Count: {count}&lt;\/p&gt;<\/code><\/pre>\n<p>  \u041a\u043e\u0434 \u043d\u0430 <a href=\"https:\/\/github.com\/kubasovp\/svelte-materialize\">GitHub<\/a> \u0438 <a href=\"https:\/\/kubasovp.github.io\/\">\u0434\u0435\u043c\u043a\u0430<\/a>.<\/p>\n<h2>\u0421\u043f\u043e\u0441\u043e\u0431 \u0432\u0442\u043e\u0440\u043e\u0439: REPL \u2014 \u043f\u043e\u043f\u0440\u043e\u0449\u0435 \u0438 \u043f\u043e\u0431\u044b\u0441\u0442\u0440\u0435\u0435<\/h2>\n<p>  \u041d\u0430 \u0441\u0430\u0439\u0442\u0435 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 \u0435\u0441\u0442\u044c \u043a\u0440\u0443\u0442\u0430\u044f \u00ab\u043f\u0435\u0441\u043e\u0447\u043d\u0438\u0446\u0430\u00bb \u2014 REPL, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0434\u0435\u0441\u044f\u0442\u043a\u043e\u0432 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432. \u0410 \u0435\u0449\u0435 \u0442\u0430\u043c \u043c\u043e\u0436\u043d\u043e \u0444\u043e\u0440\u043a\u043d\u0443\u0442\u044c \u0433\u043e\u0442\u043e\u0432\u044b\u0439 \u043a\u043e\u0434, \u0434\u043e\u043f\u0438\u0441\u0430\u0442\u044c\/\u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u0441\u0432\u043e\u0451 \u0438 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f.<br \/>  \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u044b\u0448\u0435\u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0442\u0430\u043c <a href=\"https:\/\/svelte.technology\/repl?version=2.9.7&amp;gist=7abb2ade3ec2358680492f4d444dd047\">\u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a<\/a>.<\/div>\n<p>        <script class=\"js-mediator-script\">!function(e){function t(t,n){if(!(n in e)){for(var r,a=e.document,i=a.scripts,o=i.length;o--;)if(-1!==i[o].src.indexOf(t)){r=i[o];break}if(!r){r=a.createElement(\"script\"),r.type=\"text\/javascript\",r.async=!0,r.defer=!0,r.src=t,r.charset=\"UTF-8\";var d=function(){var e=a.getElementsByTagName(\"script\")[0];e.parentNode.insertBefore(r,e)};\"[object Opera]\"==e.opera?a.addEventListener?a.addEventListener(\"DOMContentLoaded\",d,!1):e.attachEvent(\"onload\",d):d()}}}t(\"\/\/mediator.mail.ru\/script\/2820404\/\",\"_mediator\")}(window);<\/script>     <br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/post\/418679\/\"> https:\/\/habr.com\/post\/418679\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div data-io-article-url=\"https:\/\/habr.com\/post\/418679\/\" class=\"post__text post__text-html js-mediator-article\">\u0412\u0434\u043e\u0445\u043d\u043e\u0432\u0438\u0432\u0448\u0438\u0441\u044c \u0441\u0442\u0430\u0442\u044c\u044f\u043c\u0438 <a href=\"https:\/\/habr.com\/post\/353896\/\">SvelteJS: \u0420\u0435\u043b\u0438\u0437 \u0432\u0442\u043e\u0440\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438<\/a>, <a href=\"https:\/\/habr.com\/post\/414869\/\">\u0418\u0441\u0447\u0435\u0437\u0430\u044e\u0449\u0438\u0435 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0438<\/a> \u0438 <a href=\"https:\/\/habr.com\/post\/417747\/\">Re: \u00ab\u0421\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 JS-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432: React, Vue \u0438 Hyperapp\u00bb<\/a>, \u043f\u0440\u043e \u00ab\u0438\u0441\u0447\u0435\u0437\u0430\u044e\u0449\u0438\u0439\u00bb \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a Svelte (\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u00ab\u0441\u0432\u0435\u043b\u0442\u00bb, <a href=\"https:\/\/habr.com\/post\/417747\/#comment_18908103\">\u0430 \u0442\u043e \u043c\u0430\u043b\u043e \u043b\u0438<\/a>), \u044f \u0437\u0430\u0445\u043e\u0442\u0435\u043b \u0435\u0433\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c. \u0418 \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0440\u0435\u0448\u0438\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0438\u043a \u0441 <a href=\"https:\/\/materializecss.com\/buttons.html\">\u043a\u043d\u043e\u043f\u043a\u0430\u043c\u0438 \u0438\u0437 Materialize<\/a>.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-287885","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/287885","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=287885"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/287885\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=287885"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=287885"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=287885"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}