├── .gitattributes ├── .gitignore ├── .ocamlformat ├── README.md ├── Rakefile ├── bsconfig.json ├── examples ├── AnimationFrame.ml ├── Clicks.ml ├── Clock.ml ├── Context.ml ├── Counter.ml ├── CounterReducer.ml ├── CustomHooks.ml ├── CustomHooksInReason.re ├── Form.ml ├── HelloWorld.ml ├── HelloWorldInReason.re ├── Rakefile ├── Ref.ml ├── Router.ml ├── RouterRaw.ml ├── SvgClock.ml ├── Toggle.ml ├── WindowSize.ml ├── highlight.js └── style.css ├── package.json ├── ppx ├── Makefile ├── bsconfig.json ├── package.json ├── src │ └── Preact_Ppx.ml ├── tests │ ├── Tests.ml │ └── Tests.ml.stdout └── yarn.lock ├── src ├── Preact.bs.js ├── Preact.ml ├── Preact_Core.bs.js ├── Preact_Core.ml ├── Preact_Event.bs.js ├── Preact_Event.ml ├── Preact_Html.bs.js ├── Preact_Html.ml ├── Preact_Html.ml.erb ├── Preact_Router.bs.js ├── Preact_Router.ml ├── Preact_Svg.bs.js ├── Preact_Svg.ml └── Preact_Svg.ml.erb ├── tests ├── Preact_Router_Test.ml └── Preact_Test.ml └── yarn.lock /.gitattributes: -------------------------------------------------------------------------------- 1 | yarn.lock -diff 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/.gitignore -------------------------------------------------------------------------------- /.ocamlformat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/.ocamlformat -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/Rakefile -------------------------------------------------------------------------------- /bsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/bsconfig.json -------------------------------------------------------------------------------- /examples/AnimationFrame.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/examples/AnimationFrame.ml -------------------------------------------------------------------------------- /examples/Clicks.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/examples/Clicks.ml -------------------------------------------------------------------------------- /examples/Clock.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/examples/Clock.ml -------------------------------------------------------------------------------- /examples/Context.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/examples/Context.ml -------------------------------------------------------------------------------- /examples/Counter.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/examples/Counter.ml -------------------------------------------------------------------------------- /examples/CounterReducer.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/examples/CounterReducer.ml -------------------------------------------------------------------------------- /examples/CustomHooks.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/examples/CustomHooks.ml -------------------------------------------------------------------------------- /examples/CustomHooksInReason.re: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/examples/CustomHooksInReason.re -------------------------------------------------------------------------------- /examples/Form.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/examples/Form.ml -------------------------------------------------------------------------------- /examples/HelloWorld.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/examples/HelloWorld.ml -------------------------------------------------------------------------------- /examples/HelloWorldInReason.re: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/examples/HelloWorldInReason.re -------------------------------------------------------------------------------- /examples/Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/examples/Rakefile -------------------------------------------------------------------------------- /examples/Ref.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/examples/Ref.ml -------------------------------------------------------------------------------- /examples/Router.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/examples/Router.ml -------------------------------------------------------------------------------- /examples/RouterRaw.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/examples/RouterRaw.ml -------------------------------------------------------------------------------- /examples/SvgClock.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/examples/SvgClock.ml -------------------------------------------------------------------------------- /examples/Toggle.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/examples/Toggle.ml -------------------------------------------------------------------------------- /examples/WindowSize.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/examples/WindowSize.ml -------------------------------------------------------------------------------- /examples/highlight.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/examples/highlight.js -------------------------------------------------------------------------------- /examples/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/examples/style.css -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/package.json -------------------------------------------------------------------------------- /ppx/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/ppx/Makefile -------------------------------------------------------------------------------- /ppx/bsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/ppx/bsconfig.json -------------------------------------------------------------------------------- /ppx/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/ppx/package.json -------------------------------------------------------------------------------- /ppx/src/Preact_Ppx.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/ppx/src/Preact_Ppx.ml -------------------------------------------------------------------------------- /ppx/tests/Tests.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/ppx/tests/Tests.ml -------------------------------------------------------------------------------- /ppx/tests/Tests.ml.stdout: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/ppx/tests/Tests.ml.stdout -------------------------------------------------------------------------------- /ppx/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/ppx/yarn.lock -------------------------------------------------------------------------------- /src/Preact.bs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/src/Preact.bs.js -------------------------------------------------------------------------------- /src/Preact.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/src/Preact.ml -------------------------------------------------------------------------------- /src/Preact_Core.bs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/src/Preact_Core.bs.js -------------------------------------------------------------------------------- /src/Preact_Core.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/src/Preact_Core.ml -------------------------------------------------------------------------------- /src/Preact_Event.bs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/src/Preact_Event.bs.js -------------------------------------------------------------------------------- /src/Preact_Event.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/src/Preact_Event.ml -------------------------------------------------------------------------------- /src/Preact_Html.bs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/src/Preact_Html.bs.js -------------------------------------------------------------------------------- /src/Preact_Html.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/src/Preact_Html.ml -------------------------------------------------------------------------------- /src/Preact_Html.ml.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/src/Preact_Html.ml.erb -------------------------------------------------------------------------------- /src/Preact_Router.bs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/src/Preact_Router.bs.js -------------------------------------------------------------------------------- /src/Preact_Router.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/src/Preact_Router.ml -------------------------------------------------------------------------------- /src/Preact_Svg.bs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/src/Preact_Svg.bs.js -------------------------------------------------------------------------------- /src/Preact_Svg.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/src/Preact_Svg.ml -------------------------------------------------------------------------------- /src/Preact_Svg.ml.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/src/Preact_Svg.ml.erb -------------------------------------------------------------------------------- /tests/Preact_Router_Test.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/tests/Preact_Router_Test.ml -------------------------------------------------------------------------------- /tests/Preact_Test.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/tests/Preact_Test.ml -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/utkarshkukreti/bs-preact/HEAD/yarn.lock --------------------------------------------------------------------------------