並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 35 件 / 35件

新着順 人気順

created vue lifecycleの検索結果1 - 35 件 / 35件

  • Single Page Applications using Rust

    WebAssembly (wasm) allows code written in languages other than JavaScript to run on browsers. If you haven’t been paying attention, all the major browsers support wasm and globally more than 90% of users have browsers that can run wasm. Since Rust compiles to wasm, is it possible to build SPAs (Single Page Applications) purely in Rust and without writing a single line of JavaScript? The short answ

      Single Page Applications using Rust
    • VueJS is dead, long live VueJS!

      With the release of the VueJS 3 "Request for Comment" documentation about two weeks ago, Evan You introduced the VueJS function-based API and has set the VueJS community ablaze. These new ideas are still in the "Request for Comments" stage, so they're far from set in stone, but because the RFC introduces such significant changes, I made a quick summary of what you need to know. NB: All this inform

        VueJS is dead, long live VueJS!
      • UnJS にどんなツールがあるのか、上位30件すべて紹介してみた

        タイトル通り、JavaScriptツール群「UnJS」にどんなライブラリが存在するのかをひたすら見てみよう! という記事です。 本当は全て紹介しようと思ったのですが、全75個あり、1つの記事に入れるとあまりにも多すぎるので、この記事では2023年11月4日時点のStar数の順に沿って上位30個を紹介していきます。 UnJS とは UnJSは、Nuxt 開発チームが中心となって開発・メンテナンスされている、あらゆるJavaScriptフレームワーク上で統一的に動作するユーティリティーツール・ライブラリ群です。 UnJSというプロジェクトが何であるかについては、2022年11月に公開された講演映像「UnJS: Nuxt 3 behind the scenes by Pooya Parsa」を観て頂くのが最もわかりやすいと思います。Nuxt 3 正式リリース直後ということもあって、かなり詳細な背

          UnJS にどんなツールがあるのか、上位30件すべて紹介してみた
        • Vue.js 3.0で搭載される Composition APIをリリースに先駆けて試してみた - SMARTCAMP Engineer Blog

          スマートキャンプでBiscuetのエンジニアをしている中川です。 本記事はスマートキャンプ Advent Calendar 2019 - Qiitaの19日目の記事です。 現在弊社のプロダクトであるBOXILとBiscuetは、そのどちらの開発チームもVue.jsを使用して開発しています。 Vue.jsの学習コストの低さやコンポーネント指向は少人数のチームでユーザーに素早く価値を届けていきたい弊社の開発においても重宝しています。 さてそんなVue.jsですが、2020年のQ1にバージョン3.0が正式リリースされることが予告されており、正式リリースに先駆けて目玉機能のひとつであるComposition APIが公開されました。 Composition API RFC | Vue Composition API ドキュメントやAPIリファレンスのみならず、バージョン2系でプラグインとして利用で

            Vue.js 3.0で搭載される Composition APIをリリースに先駆けて試してみた - SMARTCAMP Engineer Blog
          • メドピア開発合宿でVue.jsテストライブラリ「vue-function-tester」を作った話 - メドピア開発者ブログ

            涙の数だけ強くなるフロントエンドエンジニア村上(@pipopotamasu)です。 先週の水木金とメドピア恒例の開発合宿 in 熱海に行ってきたので、そこで作ったVue.jsのテストライブラリ「vue-function-tester」を紹介したいと思います。 github.com atami vue-function-testerとは vue-function-testerは、Vue.jsの「メソッドの単体テストライブラリ」として作りました。 もっと具体的に言うと、Vue.jsのmethods, lifecycle hooks, computed, watchをテストするためのライブラリです。 ※ちなみに「vue-method-tester」にしなかったのはmethodsプロパティと被ってややこしくなるのでやめました Get started 長々と解説するよりは実際のコードをみて行きましょ

              メドピア開発合宿でVue.jsテストライブラリ「vue-function-tester」を作った話 - メドピア開発者ブログ
            • React Server Components: the Good, the Bad, and the Ugly

              React Server Components bring server-exclusive capabilities to React. I've been using this new paradigm within Next.js 13 and 14, and what follows is my honest assessment of it[1]. I debated not publishing this post because of the way the React community has historically handled criticism. It is only recently that I decided it is important to share my thoughts, especially after seeing that much of

              • Nuxt.js(Vue.js)SSRのライフサイクルを完全に理解したい(wip) | miyazaki develop log

                最近、Nuxt.jsで開発をする機会をいただいたもののnuxtのライフサイクルになかなかつまずいたのでまとめてみました。 fetchやmounted、createdなどはなんとなくわかったものの、middrewareやpluginsが混ざると本当によくわからなくなる。。 まだまだnuxt.js2ヶ月と超絶初心者で網羅できてないライフサイクル + 間違いもあるかと思いますので、随時更新予定です。 検証するライフサイクル SSR(サーバーサイドレンダリング)とCSR(クライアントサイドレンダリング)で頭がごちゃごちゃになるかと思いますので 別々で書いていきます。 SSRは、URLで直接アクセスされた際に、動くもの。 CSRは、nuxt.js上のアプリケーション上でリンククリックされた際にに動くもの。 として考えています。 検証コードは下記の通り。 念のため、全部に process.server

                • Announcing Amazon CodeCatalyst, a Unified Software Development Service (Preview) | Amazon Web Services

                  AWS News Blog Announcing Amazon CodeCatalyst, a Unified Software Development Service (Preview) Today, we announced the preview release of Amazon CodeCatalyst. A unified software development and delivery service, Amazon CodeCatalyst enables software development teams to quickly and easily plan, develop, collaborate on, build, and deliver applications on AWS, reducing friction throughout the develop

                    Announcing Amazon CodeCatalyst, a Unified Software Development Service (Preview) | Amazon Web Services
                  • GitHub - meirwah/awesome-workflow-engines: A curated list of awesome open source workflow engines

                    Activepieces - Open source no-code business automation, alternative to Zapier Airflow - Python-based platform for running directed acyclic graphs (DAGs) of tasks Argo Workflows - Open source container-native workflow engine for getting work done on Kubernetes Arvados - Open Source data and workflow management platform with emphasis on reproducibily, scale, and secure data sharing, deployable on cl

                      GitHub - meirwah/awesome-workflow-engines: A curated list of awesome open source workflow engines
                    • Vue3.xから採用予定のCompositionAPIとVue2.xを比較してみる - Qiita

                      はじめに Vueの現在のバージョンは2.6.10ですが、Vue3.x系から新たなAPIの提供がなされるとのことで一足先に試してみました。 使って見た感じ結構良さそうだったので備忘録的に残しておきたいと思います。 ここで作成したコードは以下のリポジトリにアップしてありますので一緒に確認もできます。 https://github.com/tomopict/vue-composition-api-test 前提とする環境 VueCLI v4.0.5 node v10.16.0 yarn v1.13.0 この記事の目的 CompositionAPIとVue2.x系の書き方の比較 ロジックの分離についてVue.js 2.x系との比較 CompositionAPIについて 公式では以下のように言及されています。 a set of additive, function-based APIs that a

                        Vue3.xから採用予定のCompositionAPIとVue2.xを比較してみる - Qiita
                      • Vueコンポーネントをcomposition APIに書き換えるやつを作っている

                        Vue2 の Options API で書かれたコンポーネントを、composition API を使った書き方に自動変換したくてツールを作った。 左:Options API / 右:Composition API リポジトリ デモ なにがしたいのか VueUse のような composition 用の便利なライブラリを使いたいし、とりあえずコンポーネントからロジックを分離したいというモチベーションがあったため、いくつか既存コンポーネントを人力で書き換えてみるのを試してみた。 しかし手作業でやってみると作業量が多く、これは自動化しないときついと思ったのでツール化することにした。 デモを見ると分かるが、Vue2 から Vue3 への移行ツールではなくて、Vue2 のまま Composition API プラグインを用いた記法に書き換えるものになっている。 これは現状の自分のプロジェクトを完全

                          Vueコンポーネントをcomposition APIに書き換えるやつを作っている
                        • Forgo | ForgoJS

                          Tiny UI runtime for modern web apps. Forgo is a 4KB library that makes it super easy to create modern web apps using JSX (like React). Unlike React, there are very few framework specific patterns and lingo to learn. Everything you already know about DOM APIs and JavaScript will easily carry over. Installation npm install forgo Starting a Forgo project The easiest way to get started is with the 'cr

                          • [Vue.js] ライフサイクルをみる( beforeCreate から destroyed まで ) - Qiita

                            暗記するものでもないが、 create, mount, update, destroy の 4 つに対して、それぞれ before と after の動きがある と、捉えれば覚えやすい。 公式の こちら からライフサイクルの流れを描いた図を転載させていただく。 ライフサイクルダイアグラム 実際に動きを確認する 確認用コード ライフサイクルの動きを見るために、各ライフサイクルのフックに対してログを仕込んだ。 後述の スクリーンショット で、本コードの説明を図とともに見ていく。 <template> <div :class="$style.lifecycle"> <input v-model="properties.message" :class="$style.message" placeholder="edit me"> <p>Message is: {{ properties.messa

                              [Vue.js] ライフサイクルをみる( beforeCreate から destroyed まで ) - Qiita
                            • Crank.js | Introducing Crank

                              By Brian Kim – Published April 15, 2020 After months of development, I’m happy to introduce Crank.js, a new framework for creating JSX-driven components with functions, promises and generators. And I know what you’re thinking: oh no, not another web framework. There are already so many of them out there and each carries a non-negligible cost in terms of learning it and building an ecosystem to sur

                              • GitHub - feltcoop/why-svelte: Why Svelte is our choice for a large web project in 2020

                                Why Svelte is our choice for a large web project in 2020 tldr — Svelte is a JavaScript framework for building user interfaces. Its compiler architecture enables amazing tradeoffs for UX and DX. Svelte might be worth your attention, especially if you pine for the web of yore and future. Contents Introduction Advantages easy to learn syntax and semantics write less code compilers enable output flexi

                                  GitHub - feltcoop/why-svelte: Why Svelte is our choice for a large web project in 2020
                                • クラスベースAPIから再利用および構成の可能な関数ベースアプローチへと移行したVue 3.0

                                  原文(投稿日:2019/07/06)へのリンク Vueチームは先頃、近くリリースされるVue 3用で導入される予定の、関数ベースのコンポーネントAPIについて説明するRFCを公開した。React Hooksのような関数ベースの、このコンポーネントAPIでは、ロジックをいわゆる"合成関数(composition function)"にカプセル化することで、コンポーネント間での再利用を可能にする。さらに、従来より優れた組み込みTypeScript型推論サポートを、現在は廃止されているClass API RFCでは不可能であった方法で提供している。Vue 3の新APIは、既存のVue 2コンポーネントAPIを代替するものではなく、並列して存在するものになる。 Vueの作成者であるEvan You氏は、関数ベースのコンポーネントAPIを提案する背景となった動機について、次のように説明している。 論

                                    クラスベースAPIから再利用および構成の可能な関数ベースアプローチへと移行したVue 3.0
                                  • Node.js(Express.js)環境でPrisma ORMを使いこなすための基礎 | アールエフェクト

                                    アプリケーションを構築する場合にはデータを保存するため必ずデータベースが必要となります。データベースを効率的に管理し、簡単に操作を行うためのツールがPrismaです。本文書はこれまでPrismaを利用したことがない人を対象にPrismaを利用する上での基本的な操作と設定方法について説明を行なっています。 Prismaはサーバからデータベースを操作する際にサーバとデータベースの間を仲介する役目を持っておりデータベースを操作する際はどのデータベースを利用しているか意識することなく共通のオブジェクトメソッドを利用することができます。本文書ではサーバにExpress.jsを利用して最初はデータベースのSQLiteを利用します。SQLiteで一通り動作を確認した後にクラウドサービスのSupabase(PostgreSQL)に変更します。データベースの変更を行なってもSQLiteで行なった処理と同じ操

                                      Node.js(Express.js)環境でPrisma ORMを使いこなすための基礎 | アールエフェクト
                                    • Hot Module Replacement is Easy - Bjorn Lu

                                      If you've built projects with Vite, chances are you've also used Hot Module Replacement (HMR). HMR allows you to update your code without having to refresh the page, such as editing a component markup or adjusting styles, the changes are immediately reflected in the browser, which enables faster code interation and improved developer experience. While HMR is also a feature in other bundlers like W

                                      • Learn Which Exciting Features Vue 3 Brings to The Table - Vue School Vue School Articles

                                        In the previous article we learned about the performance improvements that Vue 3 will bring. We already know that apps written in the new major version of Vue will perform very well but performance isn’t the most important part. The thing that matters most to us developers, is how the new release will affect the way we write our code. As you could expect, Vue 3 brings a lot of new exciting feature

                                          Learn Which Exciting Features Vue 3 Brings to The Table - Vue School Vue School Articles
                                        • Vueプロジェクトで使えるちょっと便利なTips集 - RareJob Tech Blog

                                          はじめまして、開発本部 APP/UXチームの一員として、フロントエンドエンジニアとして活動させて頂いております、 田原(ドンキーorDKというあだ名で生きております)と申します。 先日の弊社ブログのコチラの記事にも紹介があります、 WebRTCを利用したレッスンルームというプロダクトにおける、Webアプリケーションの開発をメイン業務としております。 当Webアプリケーションはフロントエンドフレームワークとして、Vue.jsを採用し開発をおこなっておりますので、 今回はVue.jsでアプリケーションを実装していくにあたっていくつか(備忘録も兼ねた)Tipsのご紹介をさせて頂ければと思います。 お手柔らかにお願いします。 watch immediateについて 基底componentの自動登録について this.$on('hook')を利用し、他のlifecycle hookの定義を避ける方法

                                            Vueプロジェクトで使えるちょっと便利なTips集 - RareJob Tech Blog
                                          • ARCHIVED: Modern Application Development on AWS

                                            Modern Application Development on AWS Cloud-Native Modern Application Development and Design Patterns on AWS October 2019 This paper has been archived. For the latest techincal guidance on the AWS Cloud, see the AWS Whitepapers & Guides page: https://aws.amazon.com/whitepapers/ Archived Notices Customers are responsible for making their own independent assessment of the information in this documen

                                            • Good practices and Design Patterns for Vue Composables

                                              I recently had a great discussion with my team at Vue Storefront about patterns for writing Vue composables. In the case of our system, composables are responsible for storing the main business logic (like calculations, actions, processess) so they are a crucial part of the application. Unfortunately over the time, we didn't have that much time to create some sort of Contract for writing Composabl

                                                Good practices and Design Patterns for Vue Composables
                                              • Vuejs Typescript Best Practices 2

                                                Main reason of this story is to help my colleagues and myself to remember some best practices for writing clean and… 1. Component OptionsBest way to create vue component with typescript support is using vue-property-decorator. It creates class like syntax that makes easy to understand and group different parts of component options Props : @Component export default class TestComponent extends Vue {

                                                  Vuejs Typescript Best Practices 2
                                                • An Overview of What's Coming in Vue 3 | DigitalOcean

                                                  Introduction At the time of this writing, Vue 3.0 is at its tenth alpha version. Expect a faster, smaller, more maintainable, and easier-to-use version of the Vue you know and love. You can still use Vue via a script tag and your Vue 2.x code will continue to work. But you can start playing with the latest version of Vue 3.0. In this article, you will explore some of the features that Vue 3.0 is o

                                                    An Overview of What's Coming in Vue 3 | DigitalOcean
                                                  • Technology Trends for 2024

                                                    What O’Reilly Learning Platform Usage Tells Us About Where the Industry Is Headed This has been a strange year. While we like to talk about how fast technology moves, internet time, and all that, in reality the last major new idea in software architecture was microservices, which dates to roughly 2015. Before that, cloud computing itself took off in roughly 2010 (AWS was founded in 2006); and Agil

                                                      Technology Trends for 2024
                                                    • Design: #noFramework

                                                      Do you need the framework layer?Trendy ones used to be Angular, then React, now Vue.js… others like Ember, Backbone or Knockout have nearly disappeared. Standard ones like Web Components are seldom used, “yet another framework” seem to ship every year, like Svelte, Aurelia, Quik or Fresh and each one is now featuring its server side counterpart (NestJS+Angular Universal, NextJS or Nuxt for the fir

                                                        Design: #noFramework
                                                      • React + Fetch - HTTP POST Request Examples | Jason Watmore's Blog

                                                        Below is a quick set of examples to show how to send HTTP POST requests from React to a backend API using fetch() which comes bundled with all modern browsers. Other HTTP examples available: React + Fetch: GET, PUT, DELETE React + Axios: GET, POST, PUT, DELETE Angular: GET, POST, PUT, DELETE Vue + Fetch: GET, POST, PUT, DELETE Vue + Axios: GET, POST Blazor WebAssembly: GET, POST Axios: GET, POST,

                                                        • Three Insights I Gained While Researching Vue.js Accessibility — Smashing Magazine

                                                          Web app accessibility appears difficult because it seems that there is little information on the subject available online. But while researching for my eBook, I found that the situation is better than it seems. What follows are three insights about the accessible use of framework features, concrete Vue.js traits you can use for the inclusive cause, as well as community initiatives and vetted patte

                                                            Three Insights I Gained While Researching Vue.js Accessibility — Smashing Magazine
                                                          • 22 Miraculous Tools for React Developers in 2019 – JSManifest

                                                            React, as we know it, is a JavaScript library to build amazing user interfaces. But not everybody is using the same tools or know all of the great ones out there that help make the react development experience funner and more proactive. If you haven't used react yet or have friends that might be interested in using it, what do you say when they ask you why they should use the library? Besides tell

                                                              22 Miraculous Tools for React Developers in 2019 – JSManifest
                                                            • Guide to Lifecycle of Vue in VUE.js

                                                              Vue.js is a JavaScript library that helps you build web applications using the MVVM (Model-View-ViewModel) architectural pattern. Ex-Googler “Evan You” developed the project. It is a strong open-source project with high usage popularity and GitHub stars and forks. Why Use VUE.js? As we know, there are many frameworks in the market, and choosing the proper framework for the project becomes challeng

                                                                Guide to Lifecycle of Vue in VUE.js
                                                              • Web components vs. React - LogRocket Blog

                                                                LogRocket’s Galileo AI watches every session, surfacing impactful user struggle and key behavior patterns. Editor’s note: This article on web components vs. React was last updated on 7 March 2023 to reflect changes to React and React Hooks. This update also includes new sections on the pros and cons of web components and React and interactive code examples. In this article, we will be discussing a

                                                                  Web components vs. React - LogRocket Blog
                                                                • Vue.jsはどのようにComputed Propertyの依存関係を解決しているのか - もふもふ技術部

                                                                  photo by Josh Hallett Vue.jsのcomputed property(以下computedと表記)がどのように依存しているdataが更新されたときだけ再計算されるのかを調べてみました。 基本的なcomputed propertyの使い方 目的の異なるcomputedが複数あるとします 依存関係が違う場合は実行されない どのように実装しているのか Observer Watcher 仮説 1. computed を一度でも実行する前は、いくら data を変更しても再計算されない 2. computed を実行中に Dep.target を覗いてみると自分自身を内包した Watcher オブジェクトを確認できる 3. data 変更をしなくても dep.notify() を実行すれば computed が再計算される まとめ 基本的なcomputed propertyの

                                                                    Vue.jsはどのようにComputed Propertyの依存関係を解決しているのか - もふもふ技術部
                                                                  • Amplify JavaScript releases support for Vue 3 | Amazon Web Services

                                                                    Front-End Web & Mobile Amplify JavaScript releases support for Vue 3 Today, Amplify JavaScript adds support for version 3 of Vue JS to accompany current Vue support. The Amplify open-source client libraries provide use-case centric, opinionated, declarative, and easy-to-use interfaces across different categories of cloud powered operations enabling mobile and web developers to easily interact with

                                                                      Amplify JavaScript releases support for Vue 3 | Amazon Web Services
                                                                    • Universal application code structure in Nuxt.js

                                                                      Are you new to the Nuxt.js framework and totally overwhelmed by the number of folders it comes with? Are you also surprised that most of them are empty with just the readme file in them? Well, that’s where I was little over a year ago. Since then, I’ve always wanted to learn and document the magic that each folder brought into the Nuxt project. And now, after implementing a few projects with this

                                                                        Universal application code structure in Nuxt.js
                                                                      • Vue.js を使って作ったアプリケーションに Auth0 を使った認証機能をつける - サーバーワークスエンジニアブログ

                                                                        こんにちは、技術1課の加藤です。 AWS を使った認証といえば Cognito ですが、たまには違うものも触ってみたい。 ということで今回は認証基盤サービスとして有名な Auth0 を使ってみました。 Auth0 とは 認証機構を簡単に実装するためのプラットフォームです。 AWS ユーザー的にいえば Cognito User Pool みたいなものでしょうか。 非常にシンプルに認証機構を実装できるらしいということでとても気になっていたんですよね。 65以上の SDK が用意されていていろんな言語に使えるのも魅力的。 今回は Vue.js のアプリケーションに、 Auth0 による認証機構をつけてみます。 手順 0. Vue CLIをインストール 今回は Vue CLI を用いてサクッと Vue.js のサンプルアプリを作ってしまいます。 Vue CLI をインストールしていない人は以下のコ

                                                                          Vue.js を使って作ったアプリケーションに Auth0 を使った認証機能をつける - サーバーワークスエンジニアブログ
                                                                        1