Patrick Smith
Patrick Smith
See: https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/formdata_event ```js const formElem = document.querySelector('form'); // submit handler formElem.addEventListener('submit', (e) => { // on form submission, prevent default e.preventDefault(); console.log(form.querySelector('input[name="field1"]')); // FOO console.log(form.querySelector('input[name="field2"]')); // BAR // construct a...
https://github.com/statelyai/xstate/releases/tag/%40xstate%2Freact%401.5.0
- Could be used to order events. - Attach a logical clock to every event. - https://en.wikipedia.org/wiki/Lamport_timestamp
https://github.com/aws-amplify/amplify-ui/tree/main/packages/ui/src/machines
- Show the states that a widget can be in. - Support dynamic numbers of states e.g. multiple tabs - Model focus states. e.g. menu button should focus after closing....
- https://twitter.com/chrisshank23/status/1442029809408745476
https://thatjdanisso.cool/functions-that-go-backwards
https://twitter.com/mpocock1/status/1440356513332162575 > XState API proposal: 'input' > > - Use props and compose other hooks in a totally natural way. > - No more useEffect's - prop changes get flushed...
- http://beam-wisdoms.clau.se/en/latest/eli5-processes.html - https://stephenbussey.com/2021/07/02/what-is-a-genserver.html?utm_medium=email&utm_source=elixir-radar
https://twitter.com/_jonesian/status/1440101111684165632 > my biggest challenge is with data dependencies inside of context. like do i assume the data is there in the initial context or do i have an idle...