# jsx

  • JavaScript _ 2017-12-01

    Markup as function

    If you are writing React applications you probably know about higher order components or render props (which by the way I think is kind of a form of higher order component pattern). In both cases we have a component that encapsulates logic and passes props down to children. Recently at work we came to the idea that we may push this further and represent some functionalities which are out of React in the same fashion - with a single tag in our components tree.

    → Read more

  • JavaScript _ 2015-11-23

    Distributing React components

    While I was open sourcing react-place I noticed that there is some complexity around preparing the component for releasing. I decided to document the process here so I have a solid resource next time. You may be surprised but writing the working jsx file doesn’t mean that the component is ready for publishing and is usable for other developers.

    → Read more

If this place saved you a few hours of debugging - or at least one existential crisis - you can buy me a coffee or check out my book Pocket Guide to Seniority. I've also written other books and built a video course called Do You Speak JavaScript? - where we lovingly dissect the strange parts of JS we pretend to understand.

RSS _ Stats _ Keywords _ License