React性json文件 对JS对象进行突变时将其保存到JSON文件中 import reactiveJsonFile from 'reactive-json-file' // Create a new JSON const object = reactiveJsonFile ( './data.json' ) // Mutating the object automatically saves to file object . name = 'John Doe' :rocket: 安装 npm i reactive-json-file :gear_selector: 选