-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
インメモリ Repository とプロセス間通信の実装 #89
Comments
そもそも ES Module が何か分かっていなかった |
Electron のドキュメント通りにプロセス間通信を実装しようとして、以下のようなエラーが発生していた。 https://www.electronjs.org/docs/latest/tutorial/ipc#pattern-2-renderer-to-main-two-way
|
上記の問題の原因は 2 つあった。 原因 1
以下のページを参考に、各 How To Create Absolute Imports In Vite React App: A step-by-step Guide - DEV Community 原因 2 以下のドキュメントを参考にし、単純に require を import に書き換えた、以下のような import 文を書いていた。
Inter-Process Communication | Electron 一旦それらの import 文を削除し、Quick Fix から import 文を追加しようとしたところ、 ただし、なぜそれで解決したのか不明。 |
@a2311kk |
まだあまり深く考えられていませんが、トランザクションのことまで気にするなら SQLite になるような気はしています。 |
概要
何をやるのか
永続化処理を実装する。
なぜやるのか(目的)
各機能に共通して必要となる基盤を実装し、各機能を実装できるようにするため。
完成の定義
永続化処理の実装完了。
その他
The text was updated successfully, but these errors were encountered: