ocsigen / ocsigen/tyxml

Xml_wrap.T functions

Open
#246 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
OCaml
Stars
179
Forks
63
Avg merge
5h
Merged PRs (30d)
22

Description

Hi!

I've recently noticed the ability to write reactive components with Tyxml_js, so currently I'm working on adding "reactivity" to UI components in my app. As I wrap my UI components into functors to have an ability to use them both at frontend and backend, types 'a t and 'a tlist are abstract and I can't apply functions from React.S or ReactiveData.RList module to them.
So from that site it would be handy to have some additional functions for those types, like filter and others. Just wondering, why the current set of functions was chosen for Xml_wrap.T module type? Why it is limited to these functions?

Alex

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Xml_wrap.T module type in the Tyxml API, then compare its abstract 'a t and 'a tlist operations with React.S and ReactiveData.RList. Identify the additional operations needed for reactive UI components; done means the interface and its documented behavior cover the agreed set.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml
Domain
frontend, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.