Skip to content

Js module is unstableΒ #110

@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