Bitburner

Bitburner

Not enough ratings
Using React to create custom UI components
By oddiz
Did you know you could use React to create custom UI components with access to netscript?

Turns out it's pretty simple since React and ReactDOM are already present in Window object of Bitburner.
   
Award
Favorite
Favorited
Unfavorite
Introduction
This is not a tutorial but it rather aims to guide people who are already familiar with Typescript and React.

I've prepared an example with couple of React components, also provided a thorough README (as best as my limited lingual ability allowed anyway) to explain how to get it to work in game.

I believe these will be sufficient to get you going, if not I'm happy to answer your questions.

Link to source:
https://github.com/oddiz/bitburner-react-ui-example