Skip to content

Js module is unstable #110

Open
Open
@davesnx

Description

@davesnx

Many submodules of Js (server-reason-react.js) are unimplemented. They alert the user, and raise during runtime.

The Js module is (and probably always will be) not a great idea for SSR, all of this effort is a best-effort to mitigate most usages of it on react components. A universal stdlib is the way to go.

Nevertheless, we can do a lot of work to make the problem disapear.

This list are all the todos or wontfixes for those submodules:

  • Js.Re 🟢
  • Js.Exn 🔴
  • Js.Array/Js.Array2 🟠
  • Js.String/String2 🟠
  • Js.Nullable/Js.Undefined 🟠
  • Js.Promise 🟢
  • Js.Date 🔴
  • Js.Dict 🟢 *
  • Js.Global 🔴
  • Js.Json 🔴
  • Js.Math 🔴
  • Js.Obj 🔴
  • Js.Float 🔴
  • Js.Option 🔴
  • Js.List 🔴
  • Js.Console 🟠

🟠 half-implemented
🔴 not-implemented
🟢 implemented

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions