syntheticjs/support

用于 Laravel 的前端框架。

v3.0.0 2023-05-09 13:02 UTC

This package is auto-updated.

Last update: 2024-09-12 16:32:02 UTC


README

从 V2 项目的根目录中,您可以运行以下命令来测试 V3

从 V2 升级到 V3

source <(curl -s https://calebporzio-public.s3.amazonaws.com/upgrade.sh)

更新到最新 V3

composer clear-cache && composer reinstall livewire/livewire

回退到 V2

source <(curl -s https://calebporzio-public.s3.amazonaws.com/revert.sh)

待办事项

V3 特性

  • 自动注入资源
  • "锁定"属性
  • $parent
  • 响应式属性
  • @teleport
  • wire:model 属性
  • wire:transition
  • JavaScript 函数
  • 懒加载组件
  • @if 标记(Josh)
  • PHP 属性
  • SPA 模式(wire:navigate, @persist
  • 热重载

V2 兼容性

  • Eloquent 模型支持
  • 文件上传(javascript)
  • 持久中间件(Josh)
  • 会话过期(Josh)
  • 检测多个根元素
  • JS 钩子和 Livewire.?
  • 解决所有 @todo 注释
  • 删除所有 ->markTestSkipped() 语句

文档

  • 重写它咯

收尾工作

  • 统一现代/传统测试和 "TestCase"s
  • 添加 JS 元素 & 组件
  • 性能测试
  • 重构 JS(钩子辅助工具、synthetic 等。)
  • 最终确定内部事件名称
  • 最终确定内部异常
  • 头脑风暴表单对象解决方案
  • 头脑风暴第三方插件 API