f# - 有没有一种方法可以有效地将reactjs与WebSharper结合使用

标签 f# type-providers websharper funscript

我目前正在探索 webshaper。 但是,UI.Next API 似乎有点迟缓。尽管如此,它仍处于实验阶段。我认为 Facebook 的 ReactJS 提供的速度和灵 active 及其功能设计应该非常适合。有人尝试过这个吗?有多成功?由于 UI.Next 只是 WebSharper 框架的一个库,因此人们可能期望 Reactjs 库的适配器也可以类似地工作......

预先感谢您的回复。

最佳答案

已经...

Found the documentation clarifying this point

(WebSharper.UI.Next is...) A reactive DOM library for displaying these time-varying values in a functional way. If you are familiar with Facebook React, then you will find some similarities with this approach: instead of explicitly inserting, modifying and removing DOM nodes, you return a value that represents a DOM tree based on inputs. The main difference is that these inputs are nodes of the dataflow layer, rather than a single state value associated with the component.

关于f# - 有没有一种方法可以有效地将reactjs与WebSharper结合使用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35790641/

相关文章:

class - F#新关键字。这是为了什么

f# - 使用不完整的模式匹配作为过滤器?

.net - F# TypeProvider 无法加载类型

f# - 无法构建 F# 类型提供程序 SDK

f# - ws-replace 与 ws-hole 类似,不是吗?

f# - Websharper : Using LI tags

javascript - 如何与 WebSharper 交互和设置 DOM 属性?

f# - 在游戏引擎中使用 F#

.net - 为什么F#无法打开静态类?

sql - 类中 SQL 的 F# 类型提供程序