After the blog post "React server-side rendering with OCaml" by @javierwchavarri I wanted to try a simple idea: SSR in Reason with JSX but with the same interface as reason-react
Given the same component tree that's used for JS compilation, should render on the server with OCaml
dune merged the PR for initial support for Melange.
It's huge, we will have first-class support.
(library ...
(mode melange))
github.com/ocaml/dune/iss…
How is that Monday going?
I wanted to analyze bundle size performance in Js_of_ocaml, so I rewrote an existing ReScript web app to compare both outputs.
Here is the blog post, fresh from the press, with all the data, conclusions, and takeaways: javierchavarri.com/js_of_ocaml-bu…
As ReScript future compatibility with OCaml is not clear, @ahrefs we have been exploring Melange as an alternative way to compile to JavaScript, to keep increasing shared code+tooling between backend and frontend in a safe way. This is what we learnt: tech.ahrefs.com/building-ahref…
Search functionality is now enabled on rescript-lang.org.
New: it's also capable of searching API content as well.
Please note that we will improve the search UI and search results in the near future.
Enjoy
Also, check the app demo code that shows this OCaml SSR + ReasonReact hydration in github.com/jchavarri/ocam… with a real example. Let me know if you have any comments or suggestions on how to make this better :)
I've been exploring the idea of using native OCaml to render React server side, using TyXML. The approach has some challenges, but I think it could be possible to have a quite nice experience in the future. I wrote more in detail in javierchavarri.com/react-server-s…
We updated all the Reason code at Ahrefs to BuckleScript v7 🎉
The performance improvements are really incredible! These are times measured for clean builds for some of the tools (`bsb -make-world` after `bsb -clean-world`). Some of the builds run almost twice as fast now! 😮
Indeed. Roadmaps are useful even though they're always wrong. And not just wrong about timelines; the substance of the plan rarely fully survives contact with the real world.
But you need a vision of the shining city on a hill, even if you never expect to get there.
Indeed. Roadmaps are useful even though they're always wrong. And not just wrong about timelines; the substance of the plan rarely fully survives contact with the real world.
But you need a vision of the shining city on a hill, even if you never expect to get there.
I keep writing this useMount() hook.
It's easier to scan for in code than useEffect.
Basically my brain can't remember this:
useEffect(fn) // run after each render
useEffect(fn, []) // runs after mount
📢 We are happy to announce ReasonConf 2019: On the Road to Production!
Like in 2018, we aim to bring the whole community together and have a lot of fun in learning, connecting and innovating for 3 days 🚀
See you on the 11-13 April 2019 in Vienna!
reason-conf.com
Йо! Я запускаю «Подкастерскую» castpodcast.ru — это студия, которая поможет вашему подкасту звучать хорошо. Мы напишем джингл, проконсультируем по записи, уберем шумы и дефекты, всякие «ааа», «эээ». И сделаем так, чтобы все звучало громко и классно. Ретвит плз!
I believe that `react-scripts` should only be used for a quick start. As soon as your project gets out of prototype stage webpack config should be rewritten by the team according to its need.
40 Followers 433 FollowingIt needs but one foe to breed a war, not two, Master Warden,' answered Éowyn. 'And those who have not swords can still die upon them.
5K Followers 3K FollowingQueery {PL,Q}T. 💝
Now on Mastodon: https://t.co/lIGY7IsBfL
Bluesky bridged: https://t.co/qrIfVmuSw3 (follow @ap.brid.gy first to enable!)
320 Followers 144 FollowingРазработчик. Angular. Рефлексирую на темы работы, политики и личного всякого. Люблю видеоигры, кроссовки и @ice_lolley EN acc: https://t.co/hIwSYFNn2W
3K Followers 1K FollowingBuilding the tools behind user interfaces at @ahrefs with OCaml and open-source, mostly reason-react, server-reason-react, styled-ppx, Melange and Reason.
9K Followers 218 FollowingFounder & CEO at @ahrefs. Building https://t.co/SB88wQ76ro search engine with a 90/10 profit sharing model. https://t.co/NgR8SNlJTr…
530 Followers 389 FollowingBuilding Raven, a machine learning ecosystem for OCaml.
Former director of engineering @tarides_, building developer experiences for the OCaml Platform.
6K Followers 2K Followingfollower of Christ. feminist. mormon. type theory, building kipos https://t.co/8skbe4jcU2
dev @KhanAcademy
he/him
@jaredforsyth.com on 🦋
400 Followers 5K FollowingStay ontologically verified. The map is also part of the territory. Software Engineer https://t.co/ULVG2RS8oX | M.S. Computer Science @GeorgiaTech
5K Followers 473 Followingshow me OCaml | an https://t.co/8e1icJBB76 maintainer | RFC 3339 dating coach | maybe not a sith lord | former overqualified señor meme developer | 5€ VPS kid
787 Followers 22 FollowingLanguage affects its speakers’ world view. So we need languages and writing systems diversity in digital world. By @andreysitnik for @logux_io.
5K Followers 3K FollowingQueery {PL,Q}T. 💝
Now on Mastodon: https://t.co/lIGY7IsBfL
Bluesky bridged: https://t.co/qrIfVmuSw3 (follow @ap.brid.gy first to enable!)
3K Followers 1K FollowingBuilding the tools behind user interfaces at @ahrefs with OCaml and open-source, mostly reason-react, server-reason-react, styled-ppx, Melange and Reason.
9K Followers 218 FollowingFounder & CEO at @ahrefs. Building https://t.co/SB88wQ76ro search engine with a 90/10 profit sharing model. https://t.co/NgR8SNlJTr…
2K Followers 80 FollowingOCamlPro helps you harness state-of-the-art languages like #OCaml and #Rust. We help you design & implement safe & powerful software #FormalMethods
392 Followers 7 FollowingWeekly news about ReasonML and its ecosystem. Curated by @DmytroGladkyi. Dat: dat://weeklyreason.hashbase.io/ Mastodon: @[email protected]