# \#react

**URL:** https://community.haxe.org/tag/react/38.md

[Latest](https://community.haxe.org/latest.md) · [Categories](https://community.haxe.org/categories.md) · [Tags](https://community.haxe.org/tags.md)

---

## [Haxe-react, functional components and hooks](https://community.haxe.org/t/haxe-react-functional-components-and-hooks/2867)

<div class="topic-metadata">

**Author:** [@cambiata](https://community.haxe.org/u/cambiata)\
**Replies:** 7\
**Last updated:** [September 6, 2021, 9:54am UTC](https://community.haxe.org/t/haxe-react-functional-components-and-hooks/2867 "2021-09-06T09:54:03Z")

</div>

Hi guys! Here’s my take on using a Haxe/React functional component with hooks (useState, useRef, useEffect) with react 16.8. What do you think about it? Are there better ways of destructuring the return array of useSta…

---

## [Bounty 200$ - VSCode haxe-jsx extention](https://community.haxe.org/t/bounty-200-vscode-haxe-jsx-extention/436)

<div class="topic-metadata">

**Author:** [@alex\_dja](https://community.haxe.org/u/alex_dja)\
**Replies:** 46\
**Last updated:** [February 3, 2020, 3:34pm UTC](https://community.haxe.org/t/bounty-200-vscode-haxe-jsx-extention/436 "2020-02-03T15:34:46Z")

</div>

Hello, haxe developers! I’m going to write some articles about react.js/redux/mobx programming with haxe. But to compete with typescript, haxe needs cross platform IDE with nice jsx support. So here visual code studio…

---

## [Mobx with Haxe](https://community.haxe.org/t/mobx-with-haxe/268)

<div class="topic-metadata">

**Author:** [@axelhuizinga](https://community.haxe.org/u/axelhuizinga)\
**Replies:** 9\
**Last updated:** [January 2, 2018, 8:59am UTC](https://community.haxe.org/t/mobx-with-haxe/268 "2018-01-02T08:59:50Z")

</div>

Hi, did anyone start to work on a haxe implementation or externs to work with/ like Mobx? https://medium.com/@mweststrate/becoming-fully-reactive-an-in-depth-explanation-of-mobservable-55995262a254

---

## [Using setState with function in haxe-react](https://community.haxe.org/t/using-setstate-with-function-in-haxe-react/303)

<div class="topic-metadata">

**Author:** [@RafaelOliveira](https://community.haxe.org/u/RafaelOliveira)\
**Replies:** 2\
**Last updated:** [December 25, 2017, 10:01pm UTC](https://community.haxe.org/t/using-setstate-with-function-in-haxe-react/303 "2017-12-25T22:01:48Z")

</div>

Hi, I’m trying to use setState with a function with the previous state. My code is this: setState(function(prevState:AppState, props:Dynamic) { return { timeLeft: prevState.timeLeft - 1 }; }); this is my state: ty…

---

## [Haxe-react- howto create externs for grid-styled](https://community.haxe.org/t/haxe-react-howto-create-externs-for-grid-styled/198)

<div class="topic-metadata">

**Author:** [@axelhuizinga](https://community.haxe.org/u/axelhuizinga)\
**Replies:** 9\
**Last updated:** [November 24, 2017, 4:51pm UTC](https://community.haxe.org/t/haxe-react-howto-create-externs-for-grid-styled/198 "2017-11-24T16:51:37Z")

</div>

How would I have to create correct externs to use the npm module grid-styled with haxe-react my try turns my whole content into an empty page as soon as I add something like this to my jsx: \<Flex\> \<Box width={1/2} …
