When following the sample within the SAFE template, the line chart did not render and produced this error message in the browser console:
warning: React does not recognize the dataKey prop on a DOM element
There was a reference to an issue here. My code base had the open statement in the Index.fs file as below:
open System
open Elmish
open Fable.Core
open Fable.Remoting.Client
open Fable.Recharts
open Fable.Recharts.Props
open Fable.React
open Fable.React.Props
The workaround was to re-organize the open statements like so:
open System
open Elmish
open Fable.Core
open Fable.Remoting.Client
open Fable.React
open Fable.React.Props
open Fable.Recharts
open Fable.Recharts.Prop
This order rendered the line correctly
When following the sample within the SAFE template, the line chart did not render and produced this error message in the browser console:
warning: React does not recognize thedataKeyprop on a DOM elementThere was a reference to an issue here. My code base had the open statement in the Index.fs file as below:
The workaround was to re-organize the open statements like so:
This order rendered the line correctly